mirror of
https://github.com/game-ci/unity-actions.git
synced 2026-01-28 20:19:07 +08:00
Delete moved files
This commit is contained in:
@@ -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 <webber@takken.io>"
|
||||
|
||||
ADD entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
@@ -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.
|
||||
@@ -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'
|
||||
@@ -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."
|
||||
Reference in New Issue
Block a user