29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
name: Acquire activation file
|
|
on:
|
|
#uncomment this to make it show once, stop the job in github actions, comment it again, then run using the "Run workflow" button and fill the form with desired unity version
|
|
# push: { branches: [main] }
|
|
|
|
workflow_dispatch:
|
|
inputs:
|
|
unityVersion:
|
|
description: 'Unity version to use during activation request'
|
|
required: true
|
|
default: 2020.1.7f1
|
|
jobs:
|
|
activation:
|
|
name: Request manual activation file 🔑
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# Request manual activation file
|
|
- name: Request manual activation file
|
|
id: getManualLicenseFile
|
|
uses: webbertakken/unity-request-manual-activation-file@master
|
|
with:
|
|
unityVersion: ${{ github.event.inputs.unityVersion }}
|
|
# Upload artifact (Unity_v20XX.X.XXXX.alf)
|
|
- name: Expose as artifact
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: ${{ steps.getManualLicenseFile.outputs.filePath }}
|
|
path: ${{ steps.getManualLicenseFile.outputs.filePath }}
|