clean up documentation and exit code

pull/164/head
Aaron Trudeau 2022-02-06 19:32:25 -05:00
parent 2011208d88
commit 99e23337e3
No known key found for this signature in database
GPG Key ID: D6874B046ABF9536
4 changed files with 871 additions and 871 deletions

View File

@ -5,14 +5,14 @@ inputs:
unityVersion:
required: false
default: 'auto'
description: 'Version of unity to use for testing the project. Use "auto" to get from your ProjectSettings/ProjectVersion.txt. Required if using Package Mode.'
description: 'Version of unity to use for testing the project. Use "auto" to get from your ProjectSettings/ProjectVersion.txt. ⚠️ If testing a Unity Package, this field is required and cannot be set to "auto".'
customImage:
required: false
default: ''
description: 'Specific docker image that should be used for testing the project'
projectPath:
required: false
description: 'Path to the Unity project (or, in package mode, the path to the package directory) to be tested.'
description: 'Path to the Unity project or package to be tested.'
customParameters:
required: false
description: 'Extra parameters to configure the Unity editor run.'
@ -47,7 +47,7 @@ inputs:
packageMode:
required: false
default: false
description: 'Whether the tests are being run for a Unity package instead of a Unity project. NOTE: If this is true, any custom docker image you pass must be compatible with apt-get.'
description: 'Whether the tests are being run for a Unity package instead of a Unity project. If true, any custom docker image passed to this action must be compatible with apt-get.'
outputs:
artifactsPath:
description: 'Path where the artifacts are stored'

6
dist/entrypoint.sh vendored
View File

@ -8,14 +8,14 @@ ACTIVATE_LICENSE_PATH="$GITHUB_WORKSPACE/_activate-license"
mkdir -p "$ACTIVATE_LICENSE_PATH"
#
# Check if apt-get is available if in package mode (if not, we must abort since we need to install jq)
# Check if apt-get is available if in package mode (if not, we must exit since we need to install jq)
#
if [ "$PACKAGE_MODE" = "true" ]; then
echo "Checking if apt-get is installed to install jq."
apt-get --version > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "apt-get is not installed. Aborting..."
exit
echo "apt-get is not installed. Exiting..."
exit 1
fi
# install jq

1728
dist/index.js generated vendored

File diff suppressed because it is too large Load Diff

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long