File tree Expand file tree Collapse file tree 4 files changed +16
-6
lines changed Expand file tree Collapse file tree 4 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 88 type : boolean
99 default : false
1010 secrets :
11+ UNITY_ALF :
12+ required : true
1113 UNITY_EMAIL :
1214 required : true
1315 UNITY_PASSWORD :
@@ -106,7 +108,7 @@ jobs:
106108 os :
107109 - ubuntu-24.04
108110 unityVersion :
109- - 6000.0.33f1 # FIXME: use >= 6000.0. 58f2
111+ - 6000.0.58f2
110112 - 2022.3.55f1 # FIXME: use >= 2022.3.62f2
111113 steps :
112114 - name : Install UnityEditor
@@ -118,8 +120,11 @@ jobs:
118120 sudo chmod +x /usr/bin/unity-editor
119121
120122 - name : Generate a license activation file
123+ env :
124+ UNITY_ALF : ' ${{ secrets.UNITY_ALF }}'
121125 run : |
122- unity-editor -quit -createManualActivationFile -logFile || true
126+ echo "$UNITY_ALF" > Unity_v${{ matrix.unityVersion }}.alf
127+
123128 - name : Request a Unity license file
124129 env :
125130 UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
Original file line number Diff line number Diff line change @@ -107,8 +107,10 @@ jobs:
107107 sudo installer -package Unity.pkg -target /
108108
109109 - name : Generate a license activation file
110+ env :
111+ UNITY_ALF : ' ${{ secrets.UNITY_ALF }}'
110112 run : |
111- /Applications/Unity/Unity.app/Contents/MacOS/Unity -quit -batchmode -createManualActivationFile -logFile || true
113+ echo "$UNITY_ALF" > Unity_v${{ matrix.unity.version }}.alf
112114 - name : Request a Unity license file
113115 env :
114116 UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
Original file line number Diff line number Diff line change 2323 ref : ${{ github.event.pull_request.head.sha }}
2424 is_master : ${{ github.ref_name == 'master' }}
2525 secrets :
26+ UNITY_ALF : ${{ secrets.UNITY_ALF }}
2627 UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
2728 UNITY_PASSWORD : ${{ secrets.UNITY_PASSWORD }}
2829 UNITY_TOTP_KEY : ${{ secrets.UNITY_TOTP_KEY }}
3435 ref : ${{ github.event.pull_request.head.sha }}
3536 is_master : ${{ github.ref_name == 'master' }}
3637 secrets :
38+ UNITY_ALF : ${{ secrets.UNITY_ALF }}
3739 UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
3840 UNITY_PASSWORD : ${{ secrets.UNITY_PASSWORD }}
3941 UNITY_TOTP_KEY : ${{ secrets.UNITY_TOTP_KEY }}
4446 with :
4547 ref : ${{ github.event.pull_request.head.sha }}
4648 secrets :
49+ UNITY_ALF : ${{ secrets.UNITY_ALF }}
4750 UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
4851 UNITY_PASSWORD : ${{ secrets.UNITY_PASSWORD }}
4952 UNITY_TOTP_KEY : ${{ secrets.UNITY_TOTP_KEY }}
Original file line number Diff line number Diff line change @@ -105,10 +105,10 @@ jobs:
105105 exit 0
106106
107107 - name : Generate a license activation file
108+ env :
109+ UNITY_ALF : ' ${{ secrets.UNITY_ALF }}'
108110 run : |
109- Start-Process -NoNewWindow -Wait -PassThru "C:\Program Files\Unity\Hub\Editor\${{ matrix.unity.version }}\Editor\Unity.exe" -ArgumentList "-quit -batchmode -createManualActivationFile -logfile"
110- exit 0
111- timeout-minutes : 1
111+ echo "$env:UNITY_ALF" > Unity_v${{ matrix.unity.version }}.alf
112112 - name : Request a Unity license file
113113 env :
114114 UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
You can’t perform that action at this time.
0 commit comments