Update workflow

This commit is contained in:
David Finol 2022-04-17 11:00:11 -05:00
parent 528f5ef8fd
commit 4f93c26225
2 changed files with 19 additions and 1 deletions

18
.github/workflows/activation.yml vendored Normal file
View 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 }}

View File

@ -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 }}