Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
unique1o1 committed Sep 13, 2023
1 parent be5ea39 commit 5325ead
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,16 @@ jobs:
- name: Set output
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
shell: bash
- run: rustup default stable
- run: rustup target add ${{ matrix.target }}
- run: cargo build --release --target ${{ matrix.target }}

- run: |
cd ./target/${{ matrix.target }}/release/
7z a "${{ env.BIN }}.tar.gz" "${{ env.BIN }}.exe"
tar -czvf ${{ env.BIN }}.tar.gz ${{ env.BIN }}.exe
mv "${{ env.BIN }}.tar.gz" $GITHUB_WORKSPACE
shell: bash
# We're using using a fork of `actions/create-release` that detects
# whether a release is already available or not first.
Expand Down

0 comments on commit 5325ead

Please sign in to comment.