mirror of
https://github.com/Kong/insomnia.git
synced 2026-02-02 10:12:31 -05:00
Fix snapcraft env check
This commit is contained in:
2
.github/actions/release-linux/entrypoint.sh
vendored
2
.github/actions/release-linux/entrypoint.sh
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user