Skip to content

Commit

Permalink
ci: fixup release
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Nov 25, 2024
1 parent 3c51a38 commit 4793cb4
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,37 @@ jobs:
uses: actions/cache/restore@v4
with:
key: nar-toolbox-x86_64-linux-${{ github.sha }}
path: nar-toolbox
path: result/bin/nar-toolbox
fail-on-cache-miss: true

- run: mv ./nar-toolbox ./builds/nar-toolbox-x86_64-linux
- run: mv ./result/bin/nar-toolbox ./builds/nar-toolbox-x86_64-linux

- name: Fetch x86_64-darwin binary
uses: actions/cache/restore@v4
with:
key: nar-toolbox-x86_64-darwin-${{ github.sha }}
path: nar-toolbox
path: result/bin/nar-toolbox
fail-on-cache-miss: true

- run: mv ./nar-toolbox ./builds/nar-toolbox-x86_64-darwin
- run: mv ./result/bin/nar-toolbox ./builds/nar-toolbox-x86_64-darwin

- name: Fetch aarch64-linux binary
uses: actions/cache/restore@v4
with:
key: nar-toolbox-aarch64-linux-${{ github.sha }}
path: nar-toolbox
path: result/bin/nar-toolbox
fail-on-cache-miss: true

- run: mv ./nar-toolbox ./builds/nar-toolbox-aarch64-linux
- run: mv ./result/bin/nar-toolbox ./builds/nar-toolbox-aarch64-linux

- name: Fetch aarch64-darwin binary
uses: actions/cache/restore@v4
with:
key: nar-toolbox-aarch64-darwin-${{ github.sha }}
path: nar-toolbox
path: result/bin/nar-toolbox
fail-on-cache-miss: true

- run: mv ./nar-toolbox ./builds/nar-toolbox-aarch64-darwin
- run: mv ./result/bin/nar-toolbox ./builds/nar-toolbox-aarch64-darwin

- name: Publish GitHub Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 4793cb4

Please sign in to comment.