Skip to content

Commit 0e96249

Browse files
committed
Update main.yml
1 parent f83a5ad commit 0e96249

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/main.yml

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# https://github.com/game-ci/unity-actions
2+
13
name: Test
24

35
on:
@@ -16,18 +18,22 @@ jobs:
1618
matrix:
1719
unityVersion:
1820
- 2019.4.20f1
19-
- 2020.2.7f1
21+
- 2020.3.0f1
22+
- 2021.1.0f1
2023
steps:
21-
# Set env
22-
- name: Set env UNITY_LICENSE_FILE
23-
run: echo "UNITY_LICENSE_FILE=UnityLicense/${{ matrix.unityVersion }}.ulf" >> $GITHUB_ENV
24-
2524
# Checkout Empty Project
2625
- name: Checkout Empty Project
2726
uses: actions/checkout@v2
2827
with:
2928
repository: litefeel/UnityEmptyProject
3029

30+
# Set env
31+
- name: Set env UNITY_LICENSE_FILE
32+
run: |
33+
echo 'UNITY_LICENSE<<EOF' >> $GITHUB_ENV
34+
cat UnityLicense/${{ matrix.unityVersion }}.ulf >> $GITHUB_ENV
35+
echo '' >> $GITHUB_ENV
36+
echo 'EOF' >> $GITHUB_ENV
3137
# Checkout this project
3238
- name: Checkout repository
3339
uses: actions/checkout@v2
@@ -67,4 +73,4 @@ jobs:
6773
# name: Upload build
6874
# with:
6975
# name: Build
70-
# path: build
76+
# path: build

0 commit comments

Comments
 (0)