Skip to content

Commit

Permalink
chore(.github): bump artifact actions to v4 (#190)
Browse files Browse the repository at this point in the history
Signed-off-by: Vaughn Dice <[email protected]>
  • Loading branch information
vdice authored Sep 25, 2024
1 parent e931bca commit fd1541c
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ jobs:
run: make build
- name: Upload Wasm as GitHub artifact
if: matrix.config.buildWasm
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bart
name: bart-wasm
path: target/wasm32-wasi/release/bartholomew.wasm

- name: Build bart
Expand Down Expand Up @@ -128,16 +128,16 @@ jobs:
- name: upload binary as GitHub artifact
if: runner.os != 'Windows'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bart
name: bart-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}
path: _dist/bart-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz

- name: upload binary as GitHub artifact
if: runner.os == 'Windows'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bart
name: bart-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}
path: _dist/bart-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.zip

checksums:
Expand All @@ -149,9 +149,10 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV

- name: download release assets
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bart
pattern: bart-*
merge-multiple: true

- name: generate checksums
run: sha256sum * > checksums-${{ env.RELEASE_VERSION }}.txt
Expand Down

0 comments on commit fd1541c

Please sign in to comment.