Skip to content

Commit

Permalink
Add missing build target argument (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptibell authored Oct 2, 2022
1 parent e078b05 commit f69ee9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
profile: minimal

- name: Build Release
run: cargo build --release --locked --verbose
run: cargo build --release --locked --verbose --target ${{ matrix.target }}
env:
# Build into a known directory so we can find our build artifact more
# easily.
Expand All @@ -88,11 +88,11 @@ jobs:
mkdir staging
if [ "${{ matrix.host }}" = "windows" ]; then
cp "output/release/$BIN.exe" staging/
cp "output/${{ matrix.target }}/release/$BIN.exe" staging/
cd staging
7z a ../release.zip *
else
cp "output/release/$BIN" staging/
cp "output/${{ matrix.target }}/release/$BIN" staging/
cd staging
zip ../release.zip *
fi
Expand Down

0 comments on commit f69ee9f

Please sign in to comment.