diff --git a/.github/workflows/build-unity.yml b/.github/workflows/build-unity.yml index 2486b1e..37327a7 100644 --- a/.github/workflows/build-unity.yml +++ b/.github/workflows/build-unity.yml @@ -24,10 +24,13 @@ jobs: restore-keys: | Library-${{ runner.os }} + - name: Save Unity license to file + run: echo "${{ secrets.UNITY_LICENSE }}" > unity.ulf + - name: Activate Unity license uses: game-ci/unity-activate@v2 with: - unityLicense: ${{ secrets.UNITY_LICENSE }} + activationFile: unity.ulf - name: Run Unity tests uses: game-ci/unity-test-runner@v2 @@ -45,4 +48,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: WebGL Build - path: PacoMonkey/build/WebGL \ No newline at end of file + path: PacoMonkey/build/WebGL