@@ -30,10 +30,10 @@ jobs:
3030 with :
3131 platforms : arm64
3232
33- - uses : actions/checkout@v2
33+ - uses : actions/checkout@v3
3434 if : github.event_name != 'workflow_dispatch'
3535
36- - uses : actions/checkout@v2
36+ - uses : actions/checkout@v3
3737 if : github.event_name == 'workflow_dispatch'
3838 with :
3939 ref : ' master'
8282
8383 # ========================================================================
8484
85- - uses : actions/setup-python@v2
85+ - uses : actions/setup-python@v4
86+ with :
87+ python-version : ' 3.x'
8688
8789 - name : Install Python packages
8890 run : python -m pip install -U --prefer-binary pip setuptools build wheel twine 'cibuildwheel<3,>=2'
@@ -113,21 +115,21 @@ jobs:
113115 CIBW_TEST_SKIP : ' *'
114116
115117 - name : Files for Pypi upload
116- uses : actions/upload-artifact@v2
118+ uses : actions/upload-artifact@v3
117119 if : steps.src-dist.outcome == 'success'
118120 with :
119121 name : pypy_wheels
120122 path : ./dist
121123
122124 - name : Binary wheels
123- uses : actions/upload-artifact@v2
125+ uses : actions/upload-artifact@v3
124126 if : steps.binary-dist.outcome == 'success'
125127 with :
126128 name : wheels
127129 path : ./binary_dist
128130
129131 - name : Binary wheels that failed tests
130- uses : actions/upload-artifact@v2
132+ uses : actions/upload-artifact@v3
131133 if : steps.failed-dist.outcome == 'success'
132134 with :
133135 name : failed_wheels
@@ -175,17 +177,17 @@ jobs:
175177 # ------------------------------------------------------------------------
176178 # Checkout repository to get CHANGELOG
177179
178- - uses : actions/checkout@v2
180+ - uses : actions/checkout@v3
179181 if : github.event_name != 'workflow_dispatch'
180182
181- - uses : actions/checkout@v2
183+ - uses : actions/checkout@v3
182184 if : github.event_name == 'workflow_dispatch'
183185 with :
184186 ref : ' master'
185187
186188 # ------------------------------------------------------------------------
187189
188- - uses : actions/download-artifact@v2
190+ - uses : actions/download-artifact@v3
189191
190192 # Code below inspired from this action:
191193 # - uses: taiki-e/create-gh-release-action@v1
@@ -220,9 +222,11 @@ jobs:
220222 runs-on : ubuntu-latest
221223 needs : release
222224 steps :
223- - uses : actions/setup-python@v2
225+ - uses : actions/setup-python@v4
226+ with :
227+ python-version : ' 3.x'
224228
225- - uses : actions/download-artifact@v2
229+ - uses : actions/download-artifact@v3
226230
227231 - name : Publish standard package
228232 uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments