-
-
Notifications
You must be signed in to change notification settings - Fork 64
34 lines (29 loc) · 1.09 KB
/
request-activation-file.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Unity RequestActivationFile
on:
workflow_dispatch:
inputs:
unity-version:
description: 'What unityci container to use. Just need part after `ubuntu-`'
required: true
default: '2020.3.17f1-base-0.15.0'
license-file:
description: 'Name of generated file, version expect -base...'
required: true
default: '2020.3.17f1'
jobs:
requestActivationFile:
runs-on: ubuntu-latest
container: unityci/editor:ubuntu-${{ github.event.inputs.unity-version }}
steps:
- name: Request manual activation file
continue-on-error: true
run: unity-editor -logFile /dev/stdout -createManualActivationFile -quit
- name: Upload License Request
uses: actions/upload-artifact@v4
with:
name: Manual Activation File
path: Unity_v${{ github.event.inputs.license-file }}.alf
- name: Next Steps
run: |
echo "Upload the file to https://license.unity3d.com/manual to get a license"
echo "Then save the license in a secret called UNITY_LICENSE"