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/)"