File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,24 @@ jobs:
15
15
fail-fast : false
16
16
matrix :
17
17
unityVersion :
18
- - 2019.4.9f1
19
- - 2020.1.3f1
18
+ - 2019.4.20f1
19
+ - 2020.3.0f1
20
+ - 2021.1.0f1
20
21
steps :
21
- # Set env
22
- - name : Set env UNITY_LICENSE_FILE
23
- run : echo "UNITY_LICENSE_FILE=UnityLicense/${{ matrix.unityVersion }}.ulf" >> $GITHUB_ENV
24
-
25
22
# Checkout Empty Project
26
23
- name : Checkout Empty Project
27
24
uses : actions/checkout@v2
28
25
with :
29
26
repository : litefeel/UnityEmptyProject
30
27
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
+
31
36
# Checkout this project
32
37
- name : Checkout repository
33
38
uses : actions/checkout@v2
@@ -36,14 +41,14 @@ jobs:
36
41
path : Packages/MyPlugin
37
42
38
43
# Cache
39
- - uses : actions/cache@v2
44
+ - uses : actions/cache@v1.1.0
40
45
with :
41
46
path : Library
42
47
key : Library
43
48
44
49
# Test
45
- - name : Run tests
46
- uses : webbertakken /unity-test-runner@v1.7
50
+ - name : Unity - Test runner
51
+ uses : game-ci /unity-test-runner@v2
47
52
id : tests
48
53
with :
49
54
customParameters : " -nographics"
67
72
# name: Upload build
68
73
# with:
69
74
# name: Build
70
- # path: build
75
+ # path: build
You can’t perform that action at this time.
0 commit comments