Skip to content

Commit

Permalink
fix asset attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
keirlawson committed Jan 31, 2024
1 parent da9b4e9 commit 452aa45
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: ji-linux
path: target/release/ji
path: ./ji-${{github.ref_name}}-X86_64-unknown-linux-gnu.xz

build-release-mac:
runs-on: macos-14
Expand All @@ -45,10 +45,14 @@ jobs:
- name: Package
run: |
cargo build --release --verbose
- name: Create binary archive
run: |
gzip -v target/release/ji
mv target/release/ji.gz ./ji-${{github.ref_name}}-aarch64-apple-darwin.gz
- uses: actions/upload-artifact@v4
with:
name: ji-mac
path: target/release/ji
path: ./ji-${{github.ref_name}}-aarch64-apple-darwin.gz

release:
runs-on: ubuntu-latest
Expand All @@ -65,8 +69,8 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: |
./ji-linux
./ji-mac
./**/*.deb
./*.gz
./*.xz
./*.deb

0 comments on commit 452aa45

Please sign in to comment.