Skip to content

Commit 9625f5c

Browse files
committed
add ulf and yml
1 parent 36afd67 commit 9625f5c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/config.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
name: CI
1+
name: unity-ci-example
22

33
on: [push]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
9-
8+
container: docker://gableroux/unity3d:2019.1.0f2
109
steps:
11-
- uses: docker://gableroux/unity3d:2019.1.0f2
10+
- uses: actions/checkout@master
1211
- name: Unity Activate
12+
env:
13+
SECRET_PASSPHRASE: ${{ secrets.SECRET_PASSPHRASE }}
1314
run: |
14-
apt update && apt install cl-base64 -y
15-
echo $UNITY_LICENSE_BASE64 | base64 -di | tr -d '\r' > Unity.ulf
15+
gpg --quiet --batch --yes --decrypt --passphrase="$SECRET_PASSPHRASE" --output ./Unity.ulf ./Unity.ulf.gpg
1616
/opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -manualLicenseFile Unity.ulf || exit 0
1717
- name: Create Empty Project
1818
run: |

Unity.ulf.gpg

1.09 KB
Binary file not shown.

0 commit comments

Comments
 (0)