fix(RunUnityTests.yml): Uses email / pass secrets (#3806)

* fix(RunUnityTests.yml): Uses email / pass secrets

* Delete Activation workflow - no longer viable
This commit is contained in:
MrGadget 2024-04-15 09:55:38 -04:00 committed by GitHub
parent be13e2aa77
commit d259094fec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 28 deletions

View File

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

View File

@ -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."