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:
parent
89397f93aa
commit
24d4e10a58
4
.github/scripts/attach-binary.sh
vendored
4
.github/scripts/attach-binary.sh
vendored
@ -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/)"
|
||||
|
Loading…
Reference in New Issue
Block a user