From d72365b5d4006ee2726de1871d271e9d6d8e9247 Mon Sep 17 00:00:00 2001 From: Yvee1 Date: Sat, 23 Dec 2023 19:23:23 +0100 Subject: [PATCH] Fix Windows workflow! --- .github/scripts/attach-binary.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/scripts/attach-binary.sh b/.github/scripts/attach-binary.sh index 24656b3..3599768 100755 --- a/.github/scripts/attach-binary.sh +++ b/.github/scripts/attach-binary.sh @@ -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"