From 4f93c26225a78a17e84af8cd98bb1ed34dd754ee Mon Sep 17 00:00:00 2001 From: David Finol Date: Sun, 17 Apr 2022 11:00:11 -0500 Subject: [PATCH] Update workflow --- .github/workflows/activation.yml | 18 ++++++++++++++++++ .github/workflows/main.yml | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/activation.yml diff --git a/.github/workflows/activation.yml b/.github/workflows/activation.yml new file mode 100644 index 0000000..0827bbd --- /dev/null +++ b/.github/workflows/activation.yml @@ -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 }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c01ebb8..0548b53 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: Unity Actions on: pull_request: {} - push: { branches: [main, master, develop] } + push: {} env: UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}