Skip to content

Commit

Permalink
chore(ci): v4 upload artifact & unique names
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Sep 6, 2024
1 parent bdddd61 commit 5084e78
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@ jobs:
if: ${{ matrix.docker != true }}

- name: Upload prebuild for ${{ runner.os }}-${{ runner.arch }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: prebuilds/*.tar.gz
name: artifact-${{ matrix.docker == true && matrix.alpine == true && 'linux-musl' || matrix.docker == true && matrix.alpine == false && 'linux' || matrix.os }}-${{ matrix.arch }}

- run: GH_PRE_RELEASE_UPLOAD=true ./script/ci/release.sh
if: github.ref == 'refs/heads/master' && env.ACT != true
Expand Down Expand Up @@ -222,4 +223,4 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
DRY_RUN: true

- run: echo "New Release will be v${{ steps.publish.outputs.version }}"
- run: echo "New Release will be v${{ steps.publish.outputs.version }}"

0 comments on commit 5084e78

Please sign in to comment.