@@ -53,23 +53,10 @@ jobs:
5353 android_from : ${{ steps.current_versions.outputs.android_from }}
5454
5555 steps :
56- - name : Checkout
57- uses : actions/checkout@v5
56+ - name : Setup Environment
57+ uses : ./.github/ actions/setup-environment
5858 with :
59- ref : ${{ needs.prep.outputs.release_branch }}
60-
61- - name : Configure Git
62- run : |
63- git config --global user.email "github-actions[bot]@users.noreply.github.com"
64- git config --global user.name "github-actions[bot]"
65-
66- - name : Prepare Environment
67- env :
68- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
69- run : |
70- sudo apt-get update
71- sudo apt-get install -y gh jq || true
72- gh auth status || gh auth login --with-token <<< "$GH_TOKEN"
59+ release_branch : ${{ needs.prep.outputs.release_branch }}
7360
7461 - name : Get current native SDK versions
7562 id : current_versions
@@ -151,10 +138,10 @@ jobs:
151138 needs : [prep, update-version]
152139 runs-on : ubuntu-latest
153140 steps :
154- - name : Checkout
155- uses : actions/checkout@v5
141+ - name : Setup Environment
142+ uses : ./.github/ actions/setup-environment
156143 with :
157- ref : ${{ needs.prep.outputs.release_branch }}
144+ release_branch : ${{ needs.prep.outputs.release_branch }}
158145
159146 - name : Update Unity SDK version
160147 run : |
@@ -201,7 +188,7 @@ jobs:
201188 - name : Cache Unity
202189 uses : actions/cache@v4
203190 with :
204- path : /home/runner/Unity/Hub/Editor
191+ path : /home/runner/Unity/Hub
205192 key : UnityEditor-${{ runner.os }}
206193 restore-keys : |
207194 UnityEditor-${{ runner.os }}
0 commit comments