File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ permissions:
2424jobs :
2525 compose-unity-release :
2626 name : Compose Unity Release
27- runs-on : ubuntu -latest
27+ runs-on : macos -latest
2828
2929 env :
3030 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -43,23 +43,25 @@ jobs:
4343 brew install gh jq || true
4444 gh auth status || gh auth login --with-token <<< "$GH_TOKEN"
4545
46+ - name : Cache Unity
47+ uses : actions/cache@v4
48+ with :
49+ path : /Applications/Unity/Hub
50+ key : UnityEditor-${{ runner.os }}
51+ restore-keys : |
52+ UnityEditor-${{ runner.os }}
53+
4654 - name : Setup Unity
47554856 with :
49- unity- version: 2021.3.0f1
57+ version-file : ' OneSignalExample/ProjectSettings/ProjectVersion.txt '
5058
5159 - uses : buildalon/activate-unity-license@v2
5260 with :
5361 license : ' Personal'
5462 username : ' ${{ secrets.UNITY_USERNAME }}'
5563 password : ' ${{ secrets.UNITY_PASSWORD }}'
5664
57- - name : Verify Unity install
58- run : |
59- UNITY_PATH=$(find /home/runner -type f -name Unity | grep "Editor/Unity" | head -n 1)
60- echo "Unity found at: $UNITY_PATH"
61- $UNITY_PATH -version
62-
6365 - name : 🏗️ Run composeRelease.sh
6466 run : |
6567 chmod +x ./composeRelease.sh
You can’t perform that action at this time.
0 commit comments