Skip to content

Commit 6e5d32f

Browse files
committed
Fix GitHub Actions
1 parent cc436bd commit 6e5d32f

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

.github/workflows/CI.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
PYTHONUNBUFFERED: '1'
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
submodules: 'true'
1818

1919
- name: Python environment
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: '3.10'
2323

@@ -42,9 +42,9 @@ jobs:
4242
python tests/invalid.py
4343
4444
- name: Upload wheels
45-
uses: actions/upload-artifact@v3
45+
uses: actions/upload-artifact@v4
4646
with:
47-
name: wheels
47+
name: wheels-windows
4848
path: dist
4949

5050
macos:
@@ -56,12 +56,12 @@ jobs:
5656
PYTHONUNBUFFERED: '1'
5757
steps:
5858
- name: Checkout
59-
uses: actions/checkout@v3
59+
uses: actions/checkout@v4
6060
with:
6161
submodules: 'true'
6262

6363
- name: Python environment
64-
uses: actions/setup-python@v4
64+
uses: actions/setup-python@v5
6565
with:
6666
python-version: '3.10'
6767

@@ -90,22 +90,22 @@ jobs:
9090
python tests/invalid.py
9191
9292
- name: Upload wheels
93-
uses: actions/upload-artifact@v3
93+
uses: actions/upload-artifact@v4
9494
with:
95-
name: wheels
95+
name: wheels-macos
9696
path: dist
9797

9898
linux:
9999
# Skip building pull requests from the same repository
100100
if: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) }}
101-
runs-on: ubuntu-latest
102-
container: quay.io/pypa/manylinux2014_x86_64
101+
runs-on: ubuntu-24.04
102+
container: quay.io/pypa/manylinux_2_28_x86_64
103103
env:
104104
# Disable output buffering in an attempt to get readable errors
105105
PYTHONUNBUFFERED: '1'
106106
steps:
107107
- name: Checkout
108-
uses: actions/checkout@v3
108+
uses: actions/checkout@v4
109109
with:
110110
submodules: 'true'
111111

@@ -116,7 +116,7 @@ jobs:
116116
export PATH="$PATH:$HOME/.cargo/bin"
117117
export PATH="/opt/python/cp38-cp38/bin:$PATH"
118118
pip install -r requirements.txt
119-
python setup.py bdist_wheel --py-limited-api=cp37 --plat-name manylinux2014_x86_64
119+
python setup.py bdist_wheel --py-limited-api=cp37 --plat-name manylinux_2_28_x86_64
120120
auditwheel show dist/*.whl
121121
pip install --force-reinstall dist/*.whl
122122
python -c "import icicle"
@@ -129,23 +129,24 @@ jobs:
129129
python tests/invalid.py
130130
131131
- name: Upload wheels
132-
uses: actions/upload-artifact@v3
132+
uses: actions/upload-artifact@v4
133133
with:
134-
name: wheels
134+
name: wheels-linux
135135
path: dist
136136

137137
release:
138138
if: ${{ startsWith(github.ref, 'refs/tags/') }}
139-
runs-on: ubuntu-latest
139+
runs-on: ubuntu-24.04
140140
needs: [windows, macos, linux]
141141
permissions:
142142
contents: write
143143
discussions: write
144144
steps:
145145
- name: Download wheels
146-
uses: actions/download-artifact@v3
146+
uses: actions/download-artifact@v4
147147
with:
148-
name: wheels
148+
pattern: wheels-*
149+
merge-multiple: true
149150
path: dist
150151

151152
- name: Publish to PyPI

0 commit comments

Comments
 (0)