diff options
author | David Knaack <davidkna@users.noreply.github.com> | 2024-02-18 08:22:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-18 16:22:15 +0900 |
commit | 8ab5c0bc3829185d2b4c083e3fffa0c28323daa5 (patch) | |
tree | fb6c09eee758390193f70c45402f806a8d9873c0 | |
parent | 4907eac3cf6348f666e8c50d5ff57a1d1e504662 (diff) |
build(deps): update github artifact actions to v4 (#5782)
-rw-r--r-- | .github/workflows/release.yml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 666bd6d6f..8e2bd1ae0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -140,7 +140,7 @@ jobs: cd - - name: Release | Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.name }} path: ${{ matrix.name }} @@ -148,7 +148,7 @@ jobs: - name: Release | Upload installer artifacts [Windows] continue-on-error: true if: matrix.os == 'windows-latest' && matrix.target != 'aarch64-pc-windows-msvc' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: starship-${{ matrix.target }}.msi path: target/wix/starship-${{ matrix.target }}.msi @@ -226,7 +226,7 @@ jobs: npm run build - name: Notarize | Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ matrix.name }} path: artifacts @@ -238,7 +238,7 @@ jobs: run: bash install/macos_packages/build_and_notarize.sh starship docs ${{ matrix.arch }} ${{ matrix.pkgname }} - name: Notarize | Upload Notarized Flat Installer - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.pkgname }} path: ${{ matrix.pkgname }} @@ -247,10 +247,11 @@ jobs: run: tar czvf ${{ matrix.name }} starship - name: Notarize | Upload Notarized Binary - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.name }} path: ${{ matrix.name }} + overwrite: true - name: Cleanup Secrets if: ${{ always() }} @@ -265,7 +266,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup | Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Setup | Checksums run: for file in starship-*/starship-*; do openssl dgst -sha256 -r "$file" | awk '{print $1}' > "${file}.sha256"; done @@ -336,7 +337,7 @@ jobs: - name: Setup | Checkout uses: actions/checkout@v4 - name: Setup | Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - run: pwsh ./install/windows/choco/update.ps1 env: STARSHIP_VERSION: ${{ needs.release_please.outputs.tag_name }} |