Skip to content

Commit

Permalink
Show warning if build skipped due to missing key
Browse files Browse the repository at this point in the history
  • Loading branch information
drojf committed Dec 11, 2022
1 parent fb16666 commit 5e222f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis_before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ set -e

if [ -z "$STEAMLESS" ] && [ -z "$SSH_KEY" ]; then
echo "Can't get steam API without SSH key, skipping"
echo "::warning file=.travis_before_install.sh::Can't download Steam SDK without SSH key so build skipped"
exit 0
fi

Expand Down
1 change: 1 addition & 0 deletions .travis_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ echo -n "$TRAVIS_OS_NAME$STEAM$NODEP" > buildinfo.txt

if [ -z "$STEAMLESS" ] && [ -z "$SSH_KEY" ]; then
echo "Can't get steam API without SSH key, skipping"
echo "::warning file=.travis_run.sh::Can't download Steam SDK without SSH key so build skipped"
exit 0
fi

Expand Down

0 comments on commit 5e222f3

Please sign in to comment.