Skip to content

Commit 01aa2a0

Browse files
committed
test: exclude Unity 2019.2
to avoid unexpected exception (exitcode:1)
1 parent 2fe78de commit 01aa2a0

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/unity-test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,22 @@ on:
1616
- cron: "0 0 * * 0" # weekly
1717
workflow_dispatch:
1818

19+
env:
20+
MINIMUM_UNITY_VERSION: 2018.3
21+
EXCLUDE_UNITY_VERSION: "2018.3|2019.2"
22+
1923
jobs:
2024
setup:
2125
runs-on: ubuntu-latest
2226
outputs:
2327
versions: ${{ steps.setup.outputs.versions }}
2428
steps:
2529
- id: setup
26-
run: echo "::set-output name=versions::`npx unity-changeset list --versions --all --latest-patch --min 2018.4 --json`"
30+
run: |
31+
VERSIONS=`npx unity-changeset list --versions --all --latest-patch --min ${{ env.MINIMUM_UNITY_VERSION }} --json \
32+
| jq -c '[ .[] | select(test("${{ env.EXCLUDE_UNITY_VERSION }}")==false) ]'`
33+
34+
echo "::set-output name=versions::$VERSIONS"
2735
2836
test:
2937
runs-on: ubuntu-latest

Plugins/ExternalCSharpCompiler.dll.meta

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)