Skip to content

Commit bc21c2d

Browse files
committed
Update main.yml
1 parent 06be30b commit bc21c2d

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,24 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
unityVersion:
18-
- 2019.4.9f1
19-
- 2020.1.3f1
18+
- 2019.4.20f1
19+
- 2020.3.0f1
20+
- 2021.1.0f1
2021
steps:
21-
# Set env
22-
- name: Set env UNITY_LICENSE_FILE
23-
run: echo "UNITY_LICENSE_FILE=UnityLicense/${{ matrix.unityVersion }}.ulf" >> $GITHUB_ENV
24-
2522
# Checkout Empty Project
2623
- name: Checkout Empty Project
2724
uses: actions/checkout@v2
2825
with:
2926
repository: litefeel/UnityEmptyProject
3027

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+
3136
# Checkout this project
3237
- name: Checkout repository
3338
uses: actions/checkout@v2
@@ -36,14 +41,14 @@ jobs:
3641
path: Packages/MyPlugin
3742

3843
# Cache
39-
- uses: actions/cache@v2
44+
- uses: actions/cache@v1.1.0
4045
with:
4146
path: Library
4247
key: Library
4348

4449
# 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
4752
id: tests
4853
with:
4954
customParameters: "-nographics"
@@ -67,4 +72,4 @@ jobs:
6772
# name: Upload build
6873
# with:
6974
# name: Build
70-
# path: build
75+
# path: build

0 commit comments

Comments
 (0)