File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,22 @@ jobs:
4343 run : |
4444 brew install gh jq || true
4545 gh auth status || gh auth login --with-token <<< "$GH_TOKEN"
46-
47- - name : Set up Unity
46+
47+ - name : Cache Unity installation
48+ id : cache-unity
49+ uses : actions/cache@v4
50+ with :
51+ path : /opt/unity
52+ key : unity-${{ runner.os }}-2021.3.0f1
53+
54+ - name : Setup Unity
55+ if : steps.cache-unity.outputs.cache-hit != 'true'
4856 uses : buildalon/unity-setup@v2.1.1
4957 with :
50- unity-version : ' 2021.3.0f1' # the oldest version of Unity we want to support and upload from
51- modules : ' linux-il2cpp android ios'
52- github-token : ${{ secrets.GITHUB_TOKEN }}
58+ version : 2021.3.0f1
59+
60+ - name : Verify Unity
61+ run : /opt/unity/Editor/Unity -version
5362
5463 - name : 🏗️ Run composeRelease.sh
5564 run : |
You can’t perform that action at this time.
0 commit comments