Skip to content

Commit cd0de40

Browse files
committed
No cibuildwheel
1 parent 6ce38c7 commit cd0de40

1 file changed

Lines changed: 12 additions & 44 deletions

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -11,54 +11,29 @@ on:
1111

1212

1313
jobs:
14-
update_version:
15-
name: Update dev version
16-
runs-on: ubuntu-latest
17-
steps:
18-
- name: checkout
19-
if: github.ref == 'refs/heads/main'
20-
uses: actions/checkout@v4
21-
# A token is required to push the version commit back to the repository.
22-
with:
23-
token: ${{ secrets.GITHUB_TOKEN }}
24-
- name: Increment VERSION
25-
if: github.ref == 'refs/heads/main'
26-
run: |
27-
version="$(cat VERSION)"
28-
python -c "b, n = '$version'.split('v'); print('v'.join([b, str(int(n)+1)]))" > VERSION
29-
- name: Add commit
30-
if: github.ref == 'refs/heads/main'
31-
run: |
32-
git config --global user.email "Version_Incrementer@gh_bot"
33-
git config --global user.name "Version Incrementer"
34-
git commit -a -m "CI: Increment version"
35-
git push
36-
37-
3814
build_sdist:
3915
name: Build sdist
40-
needs: update_version
4116
runs-on: ubuntu-latest
4217

4318
steps:
44-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
4520

4621
- name: Checkout updated version
4722
if: github.ref == 'refs/heads/main'
4823
run: git pull
4924

50-
- uses: actions/setup-python@v5
25+
- uses: actions/setup-python@v6
5126
name: Install Python
5227
with:
53-
python-version: '3.11'
28+
python-version: '3.13'
5429

5530
- name: Install pip build
5631
run: python -m pip install build
5732

5833
- name: Build sdist tarball
5934
run: python -m build --sdist .
6035

61-
- uses: actions/upload-artifact@v4
36+
- uses: actions/upload-artifact@v7
6237
with:
6338
name: dist-sdist
6439
path: dist/*.tar.gz
@@ -67,34 +42,27 @@ jobs:
6742

6843
build_wheels:
6944
name: Build wheels
70-
needs: update_version
7145
if: always()
7246
runs-on: ubuntu-latest
73-
env:
74-
CIBW_BUILD: "cp3{11,12,13}-*"
75-
CIBW_SKIP: "*-musllinux* *-manylinux_i686"
7647

7748
steps:
7849
- name: Checkout repository
79-
uses: actions/checkout@v4
50+
uses: actions/checkout@v6
8051

8152
- name: Checkout updated version
8253
if: github.ref == 'refs/heads/main'
8354
run: git pull
8455

85-
- uses: actions/setup-python@v5
56+
- uses: actions/setup-python@v6
8657
name: Install Python
8758
with:
88-
python-version: '3.11'
89-
90-
- name: Install cibuildwheel
91-
run: python -m pip install cibuildwheel
59+
python-version: '3.13'
9260

9361
- name: Build wheels
94-
run: python -m cibuildwheel --output-dir wheelhouse
62+
run: pip wheel . --output-dir wheelhouse
9563

9664
- name: Upload wheels artifact
97-
uses: actions/upload-artifact@v4
65+
uses: actions/upload-artifact@v7
9866
with:
9967
name: dist-wheels
10068
path: ./wheelhouse/*.whl
@@ -115,7 +83,7 @@ jobs:
11583

11684
steps:
11785
- name: Download all dist artifacts
118-
uses: actions/download-artifact@v4
86+
uses: actions/download-artifact@v7
11987
with:
12088
pattern: dist-*
12189
path: dist
@@ -142,7 +110,7 @@ jobs:
142110

143111
steps:
144112
- name: Download all dist artifacts
145-
uses: actions/download-artifact@v4
113+
uses: actions/download-artifact@v7
146114
with:
147115
pattern: dist-*
148116
path: dist
@@ -173,7 +141,7 @@ jobs:
173141

174142
steps:
175143
- name: Download all dist artifacts
176-
uses: actions/download-artifact@v4
144+
uses: actions/download-artifact@v7
177145
with:
178146
pattern: dist-*
179147
path: dist

0 commit comments

Comments
 (0)