From 24d4e10a58048d52cf25a6bb0f573b409cc24e69 Mon Sep 17 00:00:00 2001 From: Steven van den Broek Date: Fri, 16 Jul 2021 21:18:40 +0200 Subject: [PATCH] Fix attach-binary.sh (again) --- .github/scripts/attach-binary.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/scripts/attach-binary.sh b/.github/scripts/attach-binary.sh index 913645e..05b1def 100755 --- a/.github/scripts/attach-binary.sh +++ b/.github/scripts/attach-binary.sh @@ -3,10 +3,6 @@ set -o errexit -o verbose if test ! "$GITHUB_REF" then echo 'This is not a release build.' -elif test ! "${{ secrets.GITHUB_TOKEN }}" -then - echo 'The GITHUB_TOKEN environment variable is not set!' - exit 1 else echo "Attaching binary for $RUNNER_OS to $GITHUB_REF..." OWNER="$(echo "$GITHUB_REPOSITORY" | cut -f1 -d/)"