Trying to activate manually

This commit is contained in:
bd_ 2022-09-14 20:33:10 -07:00
parent e72c18b8f1
commit 76491deb5f
5 changed files with 14 additions and 6 deletions

View File

@ -10,12 +10,12 @@ jobs:
runs-on: windows-2019
steps:
# Request manual activation file
- name: Request manual activation file
id: getManualLicenseFile
uses: game-ci/unity-request-activation-file@v2
# Upload artifact (Unity_v20XX.X.XXXX.alf)
- uses: actions/checkout@v3
- runs: |
cd ci\unity-req-license
powershell .\req-license.ps1
- name: Expose as artifact
uses: actions/upload-artifact@v2
with:
name: ${{ steps.getManualLicenseFile.outputs.filePath }}
path: ${{ steps.getManualLicenseFile.outputs.filePath }}
name: license-request
path: ci\unity-req-license

View File

@ -0,0 +1,3 @@
FROM unityci/editor:windows-2019.4.31f1-windows-il2cpp-1
COPY req-license.bat /
CMD c:\req-license.bat

View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><root><SystemInfo><IsoCode>en</IsoCode><UserName>ContainerAdministrator</UserName><OperatingSystem>Windows 10 (10.0.17763) 64bit</OperatingSystem><OperatingSystemNumeric>1000</OperatingSystemNumeric><ProcessorType>AMD Ryzen 9 5950X 16-Core Processor </ProcessorType><ProcessorSpeed>3400</ProcessorSpeed><ProcessorCount>2</ProcessorCount><ProcessorCores>1</ProcessorCores><PhysicalMemoryMB>1022</PhysicalMemoryMB><ComputerName>086D50837915</ComputerName><ComputerModel>Virtual Machine (Microsoft Corporation)</ComputerModel><UnityVersion>2019.4.31f1</UnityVersion><SupportedLicenseVersion>6.x</SupportedLicenseVersion></SystemInfo><License id="Terms"><MachineID Value="8kw8NMl6zFQt1rk4dR8GXeWYZDc=" /><MachineBindings><Binding Key="1" Value="00430-00000-00000-AA128" /><Binding Key="4" Value="NDAzOC0yMTE5LTk5MDctNzA1NC01NzMzLTA3NjUtNjU=" /><Binding Key="5" Value="00:15:5d:09:80:2e" /></MachineBindings><UnityVersion Value="2019.4.31f1" /></License></root>

View File

@ -0,0 +1,2 @@
cd c:\out
"c:\Program Files\Unity\Hub\Editor\2019.4.31f1\Editor\unity.exe" -batchmode -createManualActivationFile -logfile

View File

@ -0,0 +1,2 @@
docker build -t unity-req-license .
docker run -v "$(pwd):c:\out" -t unity-req-license