Skip to content

Commit 8ab5c0b

Browse files
authored
build(deps): update github artifact actions to v4 (starship#5782)
1 parent 4907eac commit 8ab5c0b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/release.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,15 @@ jobs:
140140
cd -
141141
142142
- name: Release | Upload artifacts
143-
uses: actions/upload-artifact@v3
143+
uses: actions/upload-artifact@v4
144144
with:
145145
name: ${{ matrix.name }}
146146
path: ${{ matrix.name }}
147147

148148
- name: Release | Upload installer artifacts [Windows]
149149
continue-on-error: true
150150
if: matrix.os == 'windows-latest' && matrix.target != 'aarch64-pc-windows-msvc'
151-
uses: actions/upload-artifact@v3
151+
uses: actions/upload-artifact@v4
152152
with:
153153
name: starship-${{ matrix.target }}.msi
154154
path: target/wix/starship-${{ matrix.target }}.msi
@@ -226,7 +226,7 @@ jobs:
226226
npm run build
227227
228228
- name: Notarize | Download artifacts
229-
uses: actions/download-artifact@v3
229+
uses: actions/download-artifact@v4
230230
with:
231231
name: ${{ matrix.name }}
232232
path: artifacts
@@ -238,7 +238,7 @@ jobs:
238238
run: bash install/macos_packages/build_and_notarize.sh starship docs ${{ matrix.arch }} ${{ matrix.pkgname }}
239239

240240
- name: Notarize | Upload Notarized Flat Installer
241-
uses: actions/upload-artifact@v3
241+
uses: actions/upload-artifact@v4
242242
with:
243243
name: ${{ matrix.pkgname }}
244244
path: ${{ matrix.pkgname }}
@@ -247,10 +247,11 @@ jobs:
247247
run: tar czvf ${{ matrix.name }} starship
248248

249249
- name: Notarize | Upload Notarized Binary
250-
uses: actions/upload-artifact@v3
250+
uses: actions/upload-artifact@v4
251251
with:
252252
name: ${{ matrix.name }}
253253
path: ${{ matrix.name }}
254+
overwrite: true
254255

255256
- name: Cleanup Secrets
256257
if: ${{ always() }}
@@ -265,7 +266,7 @@ jobs:
265266
runs-on: ubuntu-latest
266267
steps:
267268
- name: Setup | Artifacts
268-
uses: actions/download-artifact@v3
269+
uses: actions/download-artifact@v4
269270

270271
- name: Setup | Checksums
271272
run: for file in starship-*/starship-*; do openssl dgst -sha256 -r "$file" | awk '{print $1}' > "${file}.sha256"; done
@@ -336,7 +337,7 @@ jobs:
336337
- name: Setup | Checkout
337338
uses: actions/checkout@v4
338339
- name: Setup | Artifacts
339-
uses: actions/download-artifact@v3
340+
uses: actions/download-artifact@v4
340341
- run: pwsh ./install/windows/choco/update.ps1
341342
env:
342343
STARSHIP_VERSION: ${{ needs.release_please.outputs.tag_name }}

0 commit comments

Comments
 (0)