mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
build(deps): update github artifact actions (major) (#7066)
build(deps): update github artifact actions Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
@@ -128,7 +128,7 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
id: unsigned-artifacts
|
id: unsigned-artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: unsigned-${{ matrix.name }}
|
name: unsigned-${{ matrix.name }}
|
||||||
path: |
|
path: |
|
||||||
@@ -163,7 +163,7 @@ jobs:
|
|||||||
cd -
|
cd -
|
||||||
|
|
||||||
- name: Release | Upload artifacts
|
- name: Release | Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
path: ${{ matrix.name }}
|
path: ${{ matrix.name }}
|
||||||
@@ -171,7 +171,7 @@ jobs:
|
|||||||
- name: Release | Upload installer artifacts [Windows]
|
- name: Release | Upload installer artifacts [Windows]
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: starship-${{ matrix.target }}.msi
|
name: starship-${{ matrix.target }}.msi
|
||||||
path: target/${{ matrix.target }}/release/starship-${{ matrix.target }}.msi
|
path: target/${{ matrix.target }}/release/starship-${{ matrix.target }}.msi
|
||||||
@@ -249,7 +249,7 @@ jobs:
|
|||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Notarize | Download artifacts
|
- name: Notarize | Download artifacts
|
||||||
uses: actions/download-artifact@v5
|
uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
path: artifacts
|
path: artifacts
|
||||||
@@ -261,7 +261,7 @@ jobs:
|
|||||||
run: bash install/macos_packages/build_and_notarize.sh starship docs ${{ matrix.arch }} ${{ matrix.pkgname }}
|
run: bash install/macos_packages/build_and_notarize.sh starship docs ${{ matrix.arch }} ${{ matrix.pkgname }}
|
||||||
|
|
||||||
- name: Notarize | Upload Notarized Flat Installer
|
- name: Notarize | Upload Notarized Flat Installer
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.pkgname }}
|
name: ${{ matrix.pkgname }}
|
||||||
path: ${{ matrix.pkgname }}
|
path: ${{ matrix.pkgname }}
|
||||||
@@ -270,7 +270,7 @@ jobs:
|
|||||||
run: tar czvf ${{ matrix.name }} starship
|
run: tar czvf ${{ matrix.name }} starship
|
||||||
|
|
||||||
- name: Notarize | Upload Notarized Binary
|
- name: Notarize | Upload Notarized Binary
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
path: ${{ matrix.name }}
|
path: ${{ matrix.name }}
|
||||||
@@ -289,7 +289,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Setup | Artifacts
|
- name: Setup | Artifacts
|
||||||
uses: actions/download-artifact@v5
|
uses: actions/download-artifact@v6
|
||||||
|
|
||||||
- name: Setup | Checksums
|
- name: Setup | Checksums
|
||||||
run: for file in starship-*/starship-*; do openssl dgst -sha256 -r "$file" | awk '{print $1}' > "${file}.sha256"; done
|
run: for file in starship-*/starship-*; do openssl dgst -sha256 -r "$file" | awk '{print $1}' > "${file}.sha256"; done
|
||||||
@@ -369,7 +369,7 @@ jobs:
|
|||||||
- name: Setup | Checkout
|
- name: Setup | Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
- name: Setup | Artifacts
|
- name: Setup | Artifacts
|
||||||
uses: actions/download-artifact@v5
|
uses: actions/download-artifact@v6
|
||||||
- run: pwsh ./install/windows/choco/update.ps1
|
- run: pwsh ./install/windows/choco/update.ps1
|
||||||
env:
|
env:
|
||||||
STARSHIP_VERSION: ${{ needs.release_please.outputs.tag_name }}
|
STARSHIP_VERSION: ${{ needs.release_please.outputs.tag_name }}
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ jobs:
|
|||||||
STARSHIP_VERSION: v1.2.3
|
STARSHIP_VERSION: v1.2.3
|
||||||
|
|
||||||
- name: Sign | Upload Executable [Windows]
|
- name: Sign | Upload Executable [Windows]
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
id: unsigned-artifacts
|
id: unsigned-artifacts
|
||||||
if: matrix.os == 'windows-latest' && matrix.rust == 'stable' && github.event_name == 'push' && github.repository == 'starship/starship'
|
if: matrix.os == 'windows-latest' && matrix.rust == 'stable' && github.event_name == 'push' && github.repository == 'starship/starship'
|
||||||
|
|||||||
Reference in New Issue
Block a user