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:
parent
458cf138d6
commit
ff2430e9d2
2
.github/scripts/attach-binary.sh
vendored
2
.github/scripts/attach-binary.sh
vendored
@ -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/
|
||||
|
2
.github/scripts/install-ghr.sh
vendored
2
.github/scripts/install-ghr.sh
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user