From 08b974d35df0c382f0ce258fb93e917430e92433 Mon Sep 17 00:00:00 2001 From: katboi01 <59540382+katboi01@users.noreply.github.com> Date: Mon, 14 Nov 2022 08:26:56 +0100 Subject: [PATCH 1/2] Create Activate.yml --- .github/workflows/Activate.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/Activate.yml diff --git a/.github/workflows/Activate.yml b/.github/workflows/Activate.yml new file mode 100644 index 0000000..0827bbd --- /dev/null +++ b/.github/workflows/Activate.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 }} From a681d06ae47765f20297f4ad098710d6fa327f2f Mon Sep 17 00:00:00 2001 From: katboi01 <59540382+katboi01@users.noreply.github.com> Date: Mon, 14 Nov 2022 08:43:54 +0100 Subject: [PATCH 2/2] Create main.yml --- .github/workflows/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..649b96d --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,15 @@ +name: Build +on: + workflow_dispatch: {} +jobs: + activation: + name: Build for Windows 🔑 + runs-on: ubuntu-latest + steps: + - uses: game-ci/unity-builder@v2 + env: + UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} + with: + targetPlatform: Windows