Skip to content

Commit 1008694

Browse files
authored
Upgrade GitHub Actions for release process (#480)
1 parent c6901a7 commit 1008694

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

Diff for: .github/workflows/release.yml

+12-10
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
mkdir -p dist/
3838
echo "${VERSION}" > dist/VERSION
3939
40-
- uses: actions/upload-artifact@v2
40+
- uses: actions/upload-artifact@v3
4141
with:
4242
name: dist
4343
path: dist/
@@ -50,19 +50,21 @@ jobs:
5050
PIP_DISABLE_PIP_VERSION_CHECK: 1
5151

5252
steps:
53-
- uses: actions/checkout@v2
53+
- uses: actions/checkout@v3
5454
with:
5555
fetch-depth: 50
5656
submodules: true
5757

58-
- uses: actions/setup-python@v2
58+
- uses: actions/setup-python@v4
59+
with:
60+
python-version: 3.x
5961

6062
- name: Build source distribution
6163
run: |
62-
python -m pip install -U setuptools wheel pip
64+
python -m pip install --upgrade setuptools wheel pip
6365
python setup.py sdist
6466
65-
- uses: actions/upload-artifact@v2
67+
- uses: actions/upload-artifact@v3
6668
with:
6769
name: dist
6870
path: dist/*.tar.*
@@ -92,7 +94,7 @@ jobs:
9294
PIP_DISABLE_PIP_VERSION_CHECK: 1
9395

9496
steps:
95-
- uses: actions/checkout@v2
97+
- uses: actions/checkout@v3
9698
with:
9799
fetch-depth: 50
98100
submodules: true
@@ -108,7 +110,7 @@ jobs:
108110
run: |
109111
brew install gnu-sed libtool autoconf automake
110112
111-
- uses: pypa/cibuildwheel@v2.1.1
113+
- uses: pypa/cibuildwheel@v2.8.0
112114
env:
113115
CIBW_BUILD_VERBOSITY: 1
114116
CIBW_BUILD: ${{ matrix.cibw_python }}
@@ -120,7 +122,7 @@ jobs:
120122
CIBW_TEST_COMMAND_WINDOWS: "python {project}\\tests\\__init__.py"
121123
CIBW_TEST_SKIP: "*universal2:arm64"
122124

123-
- uses: actions/upload-artifact@v2
125+
- uses: actions/upload-artifact@v3
124126
with:
125127
name: dist
126128
path: wheelhouse/*.whl
@@ -130,12 +132,12 @@ jobs:
130132
runs-on: ubuntu-latest
131133

132134
steps:
133-
- uses: actions/checkout@v2
135+
- uses: actions/checkout@v3
134136
with:
135137
fetch-depth: 5
136138
submodules: false
137139

138-
- uses: actions/download-artifact@v2
140+
- uses: actions/download-artifact@v3
139141
with:
140142
name: dist
141143
path: dist/

0 commit comments

Comments
 (0)