5656 'arch' = $arch
5757 }
5858 }
59- echo "::set-output name= matrix:: $($matrix | ConvertTo-Json -Compress)"
59+ echo "matrix= $($matrix | ConvertTo-Json -Compress)" >> $env:GITHUB_OUTPUT
6060
6161 build_python :
6262 needs : generate_matrix
7070 steps :
7171
7272 - name : Check out repository code
73- uses : actions/checkout@v2
73+ uses : actions/checkout@v3
7474 with :
7575 submodules : true
7676
8080 -Platform ${{ matrix.platform }} -Architecture ${{ matrix.arch }}
8181
8282 - name : Publish artifact
83- uses : actions/upload-artifact@v2
83+ uses : actions/upload-artifact@v3
8484 with :
8585 name : ${{ env.ARTIFACT_NAME }}
8686 path : ${{ runner.temp }}/artifact
@@ -97,15 +97,15 @@ jobs:
9797 steps :
9898
9999 - name : Check out repository code
100- uses : actions/checkout@v2
100+ uses : actions/checkout@v3
101101 with :
102102 submodules : true
103103
104104 - name : Fully cleanup the toolcache directory before testing
105105 run : ./helpers/clean-toolcache.ps1 -ToolName "Python"
106106
107107 - name : Download artifact
108- uses : actions/download-artifact@v2
108+ uses : actions/download-artifact@v3
109109 with :
110110 path : ${{ runner.temp }}
111111
@@ -131,7 +131,7 @@ jobs:
131131 working-directory : ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
132132
133133 - name : Setup Python ${{ env.VERSION }}
134- uses : actions/setup-python@v3
134+ uses : actions/setup-python@v4
135135 with :
136136 python-version : ${{ env.VERSION }}
137137 architecture : ${{ matrix.arch }}
@@ -168,7 +168,7 @@ jobs:
168168 needs : test_python
169169 runs-on : ubuntu-latest
170170 steps :
171- - uses : actions/download-artifact@v2
171+ - uses : actions/download-artifact@v3
172172
173173 - name : Publish Release ${{ env.VERSION }}
174174 id : create_release
@@ -182,7 +182,7 @@ jobs:
182182 Python ${{ env.VERSION }}
183183
184184 - name : Upload release assets
185- uses : actions/github-script@v2
185+ uses : actions/github-script@v6
186186 with :
187187 github-token : ${{ secrets.GITHUB_TOKEN }}
188188 script : |
@@ -205,7 +205,7 @@ jobs:
205205 runs-on : ubuntu-latest
206206 steps :
207207 - name : Trigger "Create Pull Request" workflow
208- uses : actions/github-script@v3
208+ uses : actions/github-script@v6
209209 with :
210210 github-token : ${{ secrets.PERSONAL_TOKEN }}
211211 script : |
0 commit comments