6565 git diff --staged --patch --exit-code > .repo.patch || echo "self_mutation_happened=true" >> $GITHUB_OUTPUT
6666 - if : steps.self_mutation.outputs.self_mutation_happened
6767 name : Upload patch
68- uses : actions/upload-artifact@v3
68+ uses : actions/upload-artifact@v4
6969 with :
7070 name : .repo.patch
7171 path : .repo.patch
7676 cat .repo.patch
7777 exit 1
7878 - name : Upload CDK Construct artifact
79- uses : actions/upload-artifact@v3
79+ uses : actions/upload-artifact@v4
8080 with :
8181 name : build-artifact
8282 path : packages/microapps-cdk/dist
9494 ref : ${{ github.event.pull_request.head.ref }}
9595 repository : ${{ github.event.pull_request.head.repo.full_name }}
9696 - name : Download patch
97- uses : actions/download-artifact@v3
97+ uses : actions/download-artifact@v4
9898 with :
9999 name : .repo.patch
100100 path : ${{ runner.temp }}
@@ -127,28 +127,28 @@ jobs:
127127 - name : Build Publish TypeScript
128128 run : yarn build:publish
129129 - name : Upload Publish Tool artifact
130- uses : actions/upload-artifact@v3
130+ uses : actions/upload-artifact@v4
131131 with :
132132 name : publish-tool-dist
133133 path : |
134134 packages/pwrdrvr/
135135 !packages/pwrdrvr/node_modules/
136136 - name : Upload Publish Tool - Convenience artifact
137- uses : actions/upload-artifact@v3
137+ uses : actions/upload-artifact@v4
138138 with :
139139 name : publish-tool-dist-convenience
140140 path : |
141141 packages/microapps-publish/
142142 !packages/microapps-publish/node_modules/
143143 - name : Upload Datalib artifact
144- uses : actions/upload-artifact@v3
144+ uses : actions/upload-artifact@v4
145145 with :
146146 name : datalib-dist
147147 path : |
148148 packages/microapps-datalib/
149149 !packages/microapps-datalib/node_modules/
150150 - name : Upload Router Lib artifact
151- uses : actions/upload-artifact@v3
151+ uses : actions/upload-artifact@v4
152152 with :
153153 name : router-lib-dist
154154 path : |
@@ -167,22 +167,22 @@ jobs:
167167 with :
168168 node-version : 18
169169 - name : Download Publish Tool build artifacts
170- uses : actions/download-artifact@v3
170+ uses : actions/download-artifact@v4
171171 with :
172172 name : publish-tool-dist
173173 path : packages/pwrdrvr
174174 - name : Download Publish Tool - Convenience build artifacts
175- uses : actions/download-artifact@v3
175+ uses : actions/download-artifact@v4
176176 with :
177177 name : publish-tool-dist
178178 path : packages/microapps-publish
179179 - name : Download Datalib build artifacts
180- uses : actions/download-artifact@v3
180+ uses : actions/download-artifact@v4
181181 with :
182182 name : datalib-dist
183183 path : packages/microapps-datalib
184184 - name : Download Router Lib build artifacts
185- uses : actions/download-artifact@v3
185+ uses : actions/download-artifact@v4
186186 with :
187187 name : router-lib-dist
188188 path : packages/microapps-router-lib
@@ -215,7 +215,7 @@ jobs:
215215 with :
216216 node-version : 18
217217 - name : Download build artifacts
218- uses : actions/download-artifact@v3
218+ uses : actions/download-artifact@v4
219219 with :
220220 name : build-artifact
221221 path : dist
@@ -233,15 +233,15 @@ jobs:
233233 permissions : {}
234234 if : ' ! needs.build.outputs.self_mutation_happened'
235235 steps :
236- - uses : actions/setup-java@v2
236+ - uses : actions/setup-java@v4
237237 with :
238238 distribution : temurin
239239 java-version : 11.x
240240 - uses : actions/setup-node@v4
241241 with :
242242 node-version : 18
243243 - name : Download build artifacts
244- uses : actions/download-artifact@v3
244+ uses : actions/download-artifact@v4
245245 with :
246246 name : build-artifact
247247 path : dist
@@ -262,11 +262,11 @@ jobs:
262262 - uses : actions/setup-node@v4
263263 with :
264264 node-version : 18
265- - uses : actions/setup-python@v2
265+ - uses : actions/setup-python@v5
266266 with :
267267 python-version : 3.x
268268 - name : Download build artifacts
269- uses : actions/download-artifact@v3
269+ uses : actions/download-artifact@v4
270270 with :
271271 name : build-artifact
272272 path : dist
@@ -287,11 +287,11 @@ jobs:
287287 - uses : actions/setup-node@v4
288288 with :
289289 node-version : 18
290- - uses : actions/setup-dotnet@v1
290+ - uses : actions/setup-dotnet@v4
291291 with :
292292 dotnet-version : 3.x
293293 - name : Download build artifacts
294- uses : actions/download-artifact@v3
294+ uses : actions/download-artifact@v4
295295 with :
296296 name : build-artifact
297297 path : dist
0 commit comments