@@ -140,15 +140,15 @@ jobs:
140
140
cd -
141
141
142
142
- name : Release | Upload artifacts
143
- uses : actions/upload-artifact@v3
143
+ uses : actions/upload-artifact@v4
144
144
with :
145
145
name : ${{ matrix.name }}
146
146
path : ${{ matrix.name }}
147
147
148
148
- name : Release | Upload installer artifacts [Windows]
149
149
continue-on-error : true
150
150
if : matrix.os == 'windows-latest' && matrix.target != 'aarch64-pc-windows-msvc'
151
- uses : actions/upload-artifact@v3
151
+ uses : actions/upload-artifact@v4
152
152
with :
153
153
name : starship-${{ matrix.target }}.msi
154
154
path : target/wix/starship-${{ matrix.target }}.msi
@@ -226,7 +226,7 @@ jobs:
226
226
npm run build
227
227
228
228
- name : Notarize | Download artifacts
229
- uses : actions/download-artifact@v3
229
+ uses : actions/download-artifact@v4
230
230
with :
231
231
name : ${{ matrix.name }}
232
232
path : artifacts
@@ -238,7 +238,7 @@ jobs:
238
238
run : bash install/macos_packages/build_and_notarize.sh starship docs ${{ matrix.arch }} ${{ matrix.pkgname }}
239
239
240
240
- name : Notarize | Upload Notarized Flat Installer
241
- uses : actions/upload-artifact@v3
241
+ uses : actions/upload-artifact@v4
242
242
with :
243
243
name : ${{ matrix.pkgname }}
244
244
path : ${{ matrix.pkgname }}
@@ -247,10 +247,11 @@ jobs:
247
247
run : tar czvf ${{ matrix.name }} starship
248
248
249
249
- name : Notarize | Upload Notarized Binary
250
- uses : actions/upload-artifact@v3
250
+ uses : actions/upload-artifact@v4
251
251
with :
252
252
name : ${{ matrix.name }}
253
253
path : ${{ matrix.name }}
254
+ overwrite : true
254
255
255
256
- name : Cleanup Secrets
256
257
if : ${{ always() }}
@@ -265,7 +266,7 @@ jobs:
265
266
runs-on : ubuntu-latest
266
267
steps :
267
268
- name : Setup | Artifacts
268
- uses : actions/download-artifact@v3
269
+ uses : actions/download-artifact@v4
269
270
270
271
- name : Setup | Checksums
271
272
run : for file in starship-*/starship-*; do openssl dgst -sha256 -r "$file" | awk '{print $1}' > "${file}.sha256"; done
@@ -336,7 +337,7 @@ jobs:
336
337
- name : Setup | Checkout
337
338
uses : actions/checkout@v4
338
339
- name : Setup | Artifacts
339
- uses : actions/download-artifact@v3
340
+ uses : actions/download-artifact@v4
340
341
- run : pwsh ./install/windows/choco/update.ps1
341
342
env :
342
343
STARSHIP_VERSION : ${{ needs.release_please.outputs.tag_name }}
0 commit comments