Compare commits
3 Commits
b03263c94b
...
d671d093cd
Author | SHA1 | Date |
---|---|---|
|
d671d093cd | |
|
61fd9aa167 | |
|
eea8f375c1 |
|
@ -46,7 +46,7 @@ inputs:
|
|||
description: 'GitHub Private Access Token (PAT) to pull from GitHub.'
|
||||
githubToken:
|
||||
required: false
|
||||
default: ''
|
||||
default: '${{ github.token }}'
|
||||
description: 'Token to authorize access to the GitHub REST API. If provided, a check run will be created with the test results.'
|
||||
checkName:
|
||||
required: false
|
||||
|
|
|
@ -65,7 +65,14 @@ elif [[ -n "$UNITY_LICENSING_SERVER" ]]; then
|
|||
FLOATING_LICENSE=$(sed -n 2p <<< "$PARSEDFILE")
|
||||
FLOATING_LICENSE_TIMEOUT=$(sed -n 4p <<< "$PARSEDFILE")
|
||||
|
||||
echo "Acquired floating license: \"$FLOATING_LICENSE\" with timeout $FLOATING_LICENSE_TIMEOUT"
|
||||
if [[ -z "$FLOATING_LICENSE" || -z "$FLOATING_LICENSE_TIMEOUT" ]]; then
|
||||
echo "::error ::Failed to acquire floating license from Unity Licensing Server."
|
||||
echo "Check the activation log below for more details."
|
||||
cat license.txt
|
||||
else
|
||||
echo "Acquired floating license: \"$FLOATING_LICENSE\" with timeout $FLOATING_LICENSE_TIMEOUT"
|
||||
fi
|
||||
|
||||
# Store the exit code from the verify command
|
||||
else
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue