1
1
mirror of https://github.com/Yvee1/hascard.git synced 2024-11-21 17:50:12 +03:00

Fix Windows workflow!

This commit is contained in:
Yvee1 2023-12-23 19:23:23 +01:00
parent 1aef5439cc
commit d72365b5d4

View File

@ -23,10 +23,7 @@ else
chmod +x "./$REPO.exe"
BUNDLE_NAME="$REPO-$RELEASE_VERSION-$ARCH.zip"
powershell Compress-Archive -Path "$REPO.exe" -DestinationPath "$BUNDLE_NAME"
echo "SHA256:"
ls $HOME/ghr/
echo $PATH
ghr -t "$GITHUB_TOKEN" -u "$OWNER" -r "$REPO" --replace "$(git describe --tags)" "$BUNDLE_NAME"
$HOME/ghr/ghr.exe -t "$GITHUB_TOKEN" -u "$OWNER" -r "$REPO" --replace "$(git describe --tags)" "$BUNDLE_NAME"
else
BIN="$(stack path --local-install-root)/bin/$REPO"
BUNDLE_NAME="$REPO-$RELEASE_VERSION-$ARCH.tar.gz"