mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
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:
parent
9f7a1b4856
commit
cde2ed4552
5
.github/workflows/RunUnityTests.yml
vendored
5
.github/workflows/RunUnityTests.yml
vendored
@ -31,11 +31,14 @@ jobs:
|
|||||||
# key: Library-${{ matrix.unityVersion }}
|
# key: Library-${{ matrix.unityVersion }}
|
||||||
|
|
||||||
- name: Run editor Tests
|
- 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
|
# We can use the same license for all Unity versions
|
||||||
|
# See https://game.ci/docs/github/activation/
|
||||||
env:
|
env:
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
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)
|
# 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
|
# `-stackTraceLogType None` speeds up the job and vastly shrinks the log output
|
||||||
|
27
.github/workflows/activation.yml
vendored
27
.github/workflows/activation.yml
vendored
@ -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."
|
|
Loading…
Reference in New Issue
Block a user