diff --git a/.github/actions/release-linux/entrypoint.sh b/.github/actions/release-linux/entrypoint.sh index 475f277269..18133a2317 100644 --- a/.github/actions/release-linux/entrypoint.sh +++ b/.github/actions/release-linux/entrypoint.sh @@ -17,7 +17,7 @@ echo "Running the stuff" npm test # Log into snapcraft for publishing -if [ -z "$SNAPCRAFT_LOGIN_FILE" ]; then +if [ -n "$SNAPCRAFT_LOGIN_FILE" ]; then echo "$SNAPCRAFT_LOGIN_FILE" > snapcraft.txt && snapcraft login --with snapcraft.txt fi