Skip to content

Commit

Permalink
Attempt at fixing packaging in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zeld authored Sep 3, 2021
1 parent 3de9dd1 commit 936cd8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ jobs:
mkdir "$package"
cp "README.md" "LICENCE.md" "$package"
if [ "${{ matrix.os }}" = "windows-latest" ]; then
cp "target/release/psa-update.exe" "$package"
cp "target/${{ matrix.target }}/release/psa-update.exe" "$package"
7z a "$package.zip" "$package"
echo "ASSET_PATH=$package.zip" >> $GITHUB_ENV
else
cp "target/release/psa-update" "$package"
cp "target/${{ matrix.target }}/release/psa-update" "$package"
tar czf "$package.tar.gz" "$package"
echo "ASSET_PATH=$package.tar.gz" >> $GITHUB_ENV
fi
Expand Down

0 comments on commit 936cd8f

Please sign in to comment.