1
1
mirror of https://github.com/Yvee1/hascard.git synced 2024-11-22 12:51:58 +03:00

Fix issues in Windows workflow

This commit is contained in:
Yvee1 2023-12-23 17:57:10 +01:00
parent 458cf138d6
commit ff2430e9d2
2 changed files with 33 additions and 33 deletions

View File

@ -22,7 +22,7 @@ else
cp "$BIN" "./$REPO.exe"
chmod +x "./$REPO.exe"
BUNDLE_NAME="$REPO-$RELEASE_VERSION-$ARCH.zip"
zip "$BUNDLE_NAME" "$REPO.exe"
powershell Compress-Archive -Path "$REPO.exe" -DestinationPath "$BUNDLE_NAME"
echo "SHA256:"
shasum -a 256 "$BUNDLE_NAME"
ls $HOME/ghr/

View File

@ -5,7 +5,7 @@ then
echo 'This is not a release build.'
else
mkdir -p "$HOME/.local/bin"
echo "Installing ghr"
echo "Installing ghr for $RUNNER_OS..."
if [ "$RUNNER_OS" = "Linux" ]
then
ARCH="linux"