Update workflow
This commit is contained in:
parent
528f5ef8fd
commit
4f93c26225
18
.github/workflows/activation.yml
vendored
Normal file
18
.github/workflows/activation.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: Acquire activation file
|
||||||
|
on:
|
||||||
|
workflow_dispatch: {}
|
||||||
|
jobs:
|
||||||
|
activation:
|
||||||
|
name: Request manual activation file 🔑
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
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)
|
||||||
|
- name: Expose as artifact
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: ${{ steps.getManualLicenseFile.outputs.filePath }}
|
||||||
|
path: ${{ steps.getManualLicenseFile.outputs.filePath }}
|
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -2,7 +2,7 @@ name: Unity Actions
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request: {}
|
pull_request: {}
|
||||||
push: { branches: [main, master, develop] }
|
push: {}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||||
|
Loading…
Reference in New Issue
Block a user