File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,20 +15,24 @@ jobs:
1515 fail-fast : false
1616 matrix :
1717 unityVersion :
18- - 2018 .4.17f1
19- - 2019.4.9f1
20- - 2020 .1.3f1
18+ - 2019 .4.20f1
19+ - 2020.3.0f1
20+ - 2021 .1.0f1
2121 steps :
22- # Set env
23- - name : Set env UNITY_LICENSE_FILE
24- run : echo ::set-env name=UNITY_LICENSE_FILE::UnityLicense/${{ matrix.unityVersion }}.ulf
25-
2622 # Checkout Empty Project
2723 - name : Checkout Empty Project
2824 uses : actions/checkout@v2
2925 with :
3026 repository : litefeel/UnityEmptyProject
3127
28+ # Set env
29+ - name : Set env UNITY_LICENSE_FILE
30+ run : |
31+ echo 'UNITY_LICENSE<<EOF' >> $GITHUB_ENV
32+ cat UnityLicense/${{ matrix.unityVersion }}.ulf >> $GITHUB_ENV
33+ echo '' >> $GITHUB_ENV
34+ echo 'EOF' >> $GITHUB_ENV
35+
3236 # Checkout this project
3337 - name : Checkout repository
3438 uses : actions/checkout@v2
4347 key : Library
4448
4549 # Test
46- - name : Run tests
47- uses : webbertakken /unity-test-runner@v1.6
50+ - name : Unity - Test runner
51+ uses : game-ci /unity-test-runner@v2
4852 id : tests
4953 with :
5054 customParameters : " -nographics"
You can’t perform that action at this time.
0 commit comments