7171 steps :
7272
7373 - name : Check out repository code
74- uses : actions/checkout@v3
74+ uses : actions/checkout@v4
7575 with :
7676 submodules : true
7777
@@ -81,10 +81,11 @@ jobs:
8181 -Platform ${{ matrix.platform }} -Architecture ${{ matrix.arch }}
8282
8383 - name : Publish artifact
84- uses : actions/upload-artifact@v3
84+ uses : actions/upload-artifact@v4
8585 with :
8686 name : ${{ env.ARTIFACT_NAME }}
8787 path : ${{ runner.temp }}/artifact
88+ if-no-files-found : error
8889
8990 test_python :
9091 needs : [generate_matrix, build_python]
9899 steps :
99100
100101 - name : Check out repository code
101- uses : actions/checkout@v3
102+ uses : actions/checkout@v4
102103 with :
103104 submodules : true
104105
@@ -111,9 +112,10 @@ jobs:
111112 run : if [ -d /Library/Frameworks/Python.framework ]; then sudo rm -rf /Library/Frameworks/Python.framework; fi
112113
113114 - name : Download artifact
114- uses : actions/download-artifact@v3
115+ uses : actions/download-artifact@v4
115116 with :
116- path : ${{ runner.temp }}
117+ name : ${{ env.ARTIFACT_NAME }}
118+ path : ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
117119
118120 - name : Extract files
119121 run : |
@@ -138,7 +140,7 @@ jobs:
138140 working-directory : ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
139141
140142 - name : Setup Python ${{ env.VERSION }}
141- uses : actions/setup-python@v4
143+ uses : actions/setup-python@v5
142144 with :
143145 python-version : ${{ env.VERSION }}
144146 architecture : ${{ matrix.arch }}
@@ -176,7 +178,10 @@ jobs:
176178 needs : test_python
177179 runs-on : ubuntu-latest
178180 steps :
179- - uses : actions/download-artifact@v3
181+ - uses : actions/download-artifact@v4
182+ with :
183+ pattern : python-*
184+ merge-multiple : true
180185
181186 - name : Publish Release ${{ env.VERSION }}
182187 id : create_release
@@ -202,7 +207,7 @@ jobs:
202207 }
203208
204209 - name : Upload release assets
205- uses : actions/github-script@v6
210+ uses : actions/github-script@v7
206211 with :
207212 github-token : ${{ secrets.GITHUB_TOKEN }}
208213 script : |
@@ -226,7 +231,7 @@ jobs:
226231 runs-on : ubuntu-latest
227232 steps :
228233 - name : Trigger "Create Pull Request" workflow
229- uses : actions/github-script@v6
234+ uses : actions/github-script@v7
230235 with :
231236 github-token : ${{ secrets.GITHUB_TOKEN }}
232237 script : |
0 commit comments