Skip to content

Commit

Permalink
Does Windows ignore --target flag?
Browse files Browse the repository at this point in the history
  • Loading branch information
lunush committed Feb 27, 2021
1 parent 6890821 commit f024570
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,8 @@ jobs:
outdir=${{ env.TARGET_DIR }}
staging="rates-${{ env.RELEASE_VERSION }}-${{ matrix.target }}"
mkdir -p "$staging"/{complete,doc}
ls target
if [ "${{ matrix.os }}" = "windows-2019" ]; then
cp "target/${{ matrix.target }}/release/rates.exe" "$staging/"
cp "target/release/rates.exe" "$staging/"
7z a "$staging.zip" "$staging"
echo "ASSET=$staging.zip" >> $GITHUB_ENV
else
Expand Down

0 comments on commit f024570

Please sign in to comment.