diff --git a/request-manual-activation-file/Dockerfile b/request-manual-activation-file/Dockerfile deleted file mode 100644 index 26388e0..0000000 --- a/request-manual-activation-file/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -FROM gableroux/unity3d:2019.2.11f1 - -LABEL "com.github.actions.name"="Request Unity Manual Activation File" -LABEL "com.github.actions.description"="Request the manual activation file for activating Unity personal" -LABEL "com.github.actions.icon"="box" -LABEL "com.github.actions.color"="gray-dark" - -LABEL "repository"="http://github.com/webbertakken/unity-actions" -LABEL "homepage"="http://github.com/webbertakken/unity-actions" -LABEL "maintainer"="Webber Takken " - -ADD entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/entrypoint.sh"] diff --git a/request-manual-activation-file/README.md b/request-manual-activation-file/README.md deleted file mode 100644 index 2c2b423..0000000 --- a/request-manual-activation-file/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# Get manual license file - -Acquires manual activation file for activating CI license. - -## Usage - -Please refer to `.github/actions/main.yml` in this repo while the repo is -still a work in progress. diff --git a/request-manual-activation-file/action.yml b/request-manual-activation-file/action.yml deleted file mode 100644 index 33862d5..0000000 --- a/request-manual-activation-file/action.yml +++ /dev/null @@ -1,8 +0,0 @@ -name: 'Request manual activation file' -description: 'Request the manual activation file for activating Unity personal' -outputs: - filePath: - description: 'Path of the manual activation file' -runs: - using: 'docker' - image: 'Dockerfile' diff --git a/request-manual-activation-file/entrypoint.sh b/request-manual-activation-file/entrypoint.sh deleted file mode 100644 index 4291e5a..0000000 --- a/request-manual-activation-file/entrypoint.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bash - -# The container's unity version -UNITY_VERSION=2019.2.11f1 - -# Determine the expected file name and path -FILE_NAME=Unity_v$UNITY_VERSION.alf -FILE_PATH=$FILE_NAME - -# Request the manual activation file for activating unity personal -xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \ - /opt/Unity/Editor/Unity \ - -batchmode \ - -nographics \ - -logFile /dev/stdout \ - -quit \ - -createManualActivationFile - -# Output the resulting file by copying -cp $FILE_NAME $HOME/$FILE_PATH - -# Set resulting name as output variable -echo ::set-output name=filePath::$FILE_PATH - -# Explain what to do next -echo "Use the file \"$FILE_PATH\" for manual activation." -echo "Set the contents of the resulting license file as the \$UNITY_LICENSE variabe."