mirror of
https://github.com/game-ci/unity-activate
synced 2026-01-31 07:29:04 +08:00
Make image variable
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
FROM gableroux/unity3d:2019.2.11f1
|
||||
ARG IMAGE
|
||||
FROM $IMAGE
|
||||
|
||||
LABEL "com.github.actions.name"="Unity - Activate"
|
||||
LABEL "com.github.actions.description"="Activate Unity using credentials or a license file. Both personal and professional licenses are supported."
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#
|
||||
# Display the unity version
|
||||
#
|
||||
|
||||
echo "Activating Unity version \"$UNITY_VERSION\"."
|
||||
|
||||
if [[ -n "$UNITY_LICENSE" ]]; then
|
||||
#
|
||||
# PERSONAL LICENSE MODE
|
||||
|
||||
Reference in New Issue
Block a user