Skip to content

Commit

Permalink
Update activation to use blank project
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKahr committed Nov 7, 2023
1 parent cfbe5a1 commit 641bce6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/platforms/ubuntu/steps/activate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ if [[ -n "$UNITY_SERIAL" && -n "$UNITY_EMAIL" && -n "$UNITY_PASSWORD" ]]; then
-quit \
-serial "$UNITY_SERIAL" \
-username "$UNITY_EMAIL" \
-password "$UNITY_PASSWORD"
-password "$UNITY_PASSWORD" \
-projectPath "/BlankProject"

# Store the exit code from the verify command
UNITY_EXIT_CODE=$?
Expand Down
3 changes: 2 additions & 1 deletion dist/platforms/ubuntu/steps/return_license.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ elif [[ -n "$UNITY_SERIAL" ]]; then
unity-editor \
-logFile /dev/stdout \
-quit \
-returnlicense
-returnlicense \
-projectPath "/BlankProject"
fi

# Return to previous working directory
Expand Down
1 change: 1 addition & 0 deletions src/model/docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class Docker {
--volume "${actionFolder}/platforms/ubuntu/steps:/steps:z" \
--volume "${actionFolder}/platforms/ubuntu/entrypoint.sh:/entrypoint.sh:z" \
--volume "${actionFolder}/unity-config:/usr/share/unity3d/config/:z" \
--volume "${actionFolder}/BlankProject":"/BlankProject:z" \
--cpus=${dockerCpuLimit} \
--memory=${dockerMemoryLimit} \
${sshAgent ? `--volume ${sshAgent}:/ssh-agent` : ''} \
Expand Down

0 comments on commit 641bce6

Please sign in to comment.