From cde2ed45529e2057ae71cd2a70fcde074c191b49 Mon Sep 17 00:00:00 2001 From: MrGadget <9826063+MrGadget1024@users.noreply.github.com> Date: Mon, 15 Apr 2024 09:55:38 -0400 Subject: [PATCH] fix(RunUnityTests.yml): Uses email / pass secrets (#3806) * fix(RunUnityTests.yml): Uses email / pass secrets * Delete Activation workflow - no longer viable --- .github/workflows/RunUnityTests.yml | 5 ++++- .github/workflows/activation.yml | 27 --------------------------- 2 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 .github/workflows/activation.yml diff --git a/.github/workflows/RunUnityTests.yml b/.github/workflows/RunUnityTests.yml index 4a45491ff..6baea7405 100644 --- a/.github/workflows/RunUnityTests.yml +++ b/.github/workflows/RunUnityTests.yml @@ -31,11 +31,14 @@ jobs: # key: Library-${{ matrix.unityVersion }} - name: Run editor Tests - uses: game-ci/unity-test-runner@v4.0.0 + uses: game-ci/unity-test-runner@v4 # We can use the same license for all Unity versions + # See https://game.ci/docs/github/activation/ env: UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} # testMode is set to editMode (editor tests only) until we fix playmode tests (or eliminate them) # `-stackTraceLogType None` speeds up the job and vastly shrinks the log output diff --git a/.github/workflows/activation.yml b/.github/workflows/activation.yml deleted file mode 100644 index 06df2e825..000000000 --- a/.github/workflows/activation.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Acquire Activation File - -on: - workflow_dispatch: - -jobs: - activation: - name: Acquire Activation File 🔑 - runs-on: ubuntu-latest - - steps: - - name: Acquire Activation File - id: getManualLicenseFile - uses: game-ci/unity-request-activation-file@v2 - with: - unityVersion: 2019.4.40f1 - - - name: Upload License Request - uses: actions/upload-artifact@v4 - with: - name: ${{ steps.getManualLicenseFile.outputs.filePath }} - path: ${{ steps.getManualLicenseFile.outputs.filePath }} - - - name: Next Steps - run: | - echo "Upload the alf file to https://license.unity3d.com/manual to get a ulf license file." - echo "Unzip and open the ulf license in Notepad and paste into secret called UNITY_LICENSE."