Skip to content

Commit

Permalink
Fix target variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Sep 5, 2023
1 parent c229816 commit 467ab5b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Install Rust toolchain
uses: dtolnay/[email protected]
with:
targets: ${{ matrix.job.target }}
targets: ${{ matrix.target }}

- name: Install cross
uses: taiki-e/install-action@v2
Expand All @@ -64,13 +64,13 @@ jobs:

- name: Move binary to root of checkout
shell: bash
run: mv target/${{ matrix.job.target }}/release/difft difft
run: mv target/${{ matrix.target }}/release/difft difft

- name: Compress binary
shell: bash
run: tar -cvzf difft-${{ matrix.job.target }}.tar.gz difft
run: tar -cvzf difft-${{ matrix.target }}.tar.gz difft

# needs target in file name
- name: Upload binary
shell: bash
run: gh release upload ${{ github.ref }} difft-${{ matrix.job.target }}.tar.gz
run: gh release upload ${{ github.ref }} difft-${{ matrix.target }}.tar.gz

0 comments on commit 467ab5b

Please sign in to comment.