Skip to content

Commit 5084e78

Browse files
committed
chore(ci): v4 upload artifact & unique names
1 parent bdddd61 commit 5084e78

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,10 @@ jobs:
9090
if: ${{ matrix.docker != true }}
9191

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

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

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

0 commit comments

Comments
 (0)