@@ -118,13 +118,13 @@ jobs:
118118 env :
119119 ARTIFACT_ZIP_NAME : ${{ env.ARTIFACT_ZIP_NAME }}
120120 - name : Upload artifact
121- uses : actions/upload-artifact@v3
121+ uses : actions/upload-artifact@v4
122122 with :
123123 name : ${{ env.ARTIFACT_ZIP_NAME }}
124124 path : ${{ env.ARTIFACT_ZIP_NAME }}.zip
125125
126126 build-virtualenv :
127- runs-on : ' ubuntu-20 .04'
127+ runs-on : ' ubuntu-22 .04'
128128 strategy :
129129 matrix :
130130 py_version : [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
@@ -171,8 +171,8 @@ jobs:
171171 env :
172172 ARTIFACT_ZIP_NAME : ${{ env.ARTIFACT_ZIP_NAME }}
173173 - name : Upload artifact
174- if : ${{ matrix.py_version }} == " 3.10" # Only publish one artifact
175- uses : actions/upload-artifact@v3
174+ if : ${{ matrix.py_version == 3.10 }} # Only publish one artifact
175+ uses : actions/upload-artifact@v4
176176 with :
177177 name : ${{ env.ARTIFACT_ZIP_NAME }}
178178 path : ${{ env.ARTIFACT_ZIP_NAME }}.zip
@@ -181,14 +181,14 @@ jobs:
181181 # only publish release on tags
182182 if : ${{ startsWith(github.ref, 'refs/tags/') == true }}
183183 needs : [build-windows, build-virtualenv]
184- runs-on : ' ubuntu-20 .04'
184+ runs-on : ' ubuntu-22 .04'
185185 permissions :
186186 # See https://github.com/softprops/action-gh-release/issues/236#issuecomment-1150530128
187187 contents : write
188188
189189 steps :
190190 - name : Download all artifacts
191- uses : actions/download-artifact@v3
191+ uses : actions/download-artifact@v4
192192 with :
193193 path : artifacts
194194 - name : Show artifact contents
0 commit comments