1
1
mirror of https://github.com/Yvee1/hascard.git synced 2024-11-22 12:51:58 +03:00

Fix attach-binary.sh (again)

This commit is contained in:
Steven van den Broek 2021-07-16 21:18:40 +02:00
parent 89397f93aa
commit 24d4e10a58

View File

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