Skip to content

Commit bc0d34b

Browse files
committed
license
1 parent ff86640 commit bc0d34b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,14 @@ jobs:
102102
- name: Install scanner
103103
run: dotnet tool install dotnet-sonarscanner --tool-path . --version 6.0.0
104104

105+
- name: Activate Unity
106+
continue-on-error: true
107+
env:
108+
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
109+
run: |
110+
echo "$UNITY_LICENSE" | tr -d '\r' > License.ulf
111+
unity-editor -nographics -logFile /dev/stdout -manualLicenseFile License.ulf -quit
112+
105113
- name: Generate Solution
106114
run: |
107115
unity-editor -nographics -logFile /dev/stdout -customBuildName scriptable-values -projectPath . -executeMethod Packages.Rider.Editor.RiderScriptEditor.SyncSolution -quit

0 commit comments

Comments
 (0)