@@ -7,7 +7,7 @@ run-name: 🧪 Test (${{ github.event.pull_request.title || github.ref_name }})
77
88env :
99 # MINIMUM_VERSION: The minimum version of Unity.
10- MINIMUM_VERSION : 2020.3
10+ MINIMUM_VERSION : 2019.4
1111 # EXCLUDE_FILTER: The excluded versions of Unity.
1212 EXCLUDE_FILTER : " (2017|2018|2023.3)"
1313 PROJECT_PATH : .
4545 steps :
4646 - name : 🔑 Secrets check
4747 run : |
48- if [ -z "$UNITY_EMAIL" ] || [ -z "$UNITY_PASSWORD" ] || [ -z "UNITY_LICENSE" ]; then
48+ echo "Checking secrets for ${{ github.actor }} ..."
49+ if [ -z "$UNITY_EMAIL" ] || [ -z "$UNITY_PASSWORD" ] || [ -z "$UNITY_LICENSE" ]; then
4950 echo "Error: UNITY_EMAIL, UNITY_PASSWORD, and UNITY_LICENSE secrets must be set." | tee -a $GITHUB_STEP_SUMMARY >&2
5051 echo "Error: See https://game.ci/docs/github/test-runner#basic-setup" | tee -a $GITHUB_STEP_SUMMARY >&2
5152 echo "Error: Set the secrets at ${{ github.server_url }}/${{ github.repository }}/settings/secrets/actions" | tee -a $GITHUB_STEP_SUMMARY >&2
@@ -84,10 +85,10 @@ jobs:
8485 unityVersion : ${{ fromJson(needs.setup.outputs.unityVersions) }}
8586 steps :
8687 - name : 🚚 Checkout ($${{ github.ref }})
87- uses : actions/checkout@v6
88+ uses : actions/checkout@v7
8889
8990 - name : 📥 Cache library
90- uses : actions/cache@v5
91+ uses : actions/cache@v6
9192 with :
9293 path : ${{ env.PROJECT_PATH }}/Library
9394 key : ${{ env.PROJECT_PATH }}-Library-${{ matrix.unityVersion }}-${{ github.event.pull_request.head.sha || github.sha }}
9697 ${{ env.PROJECT_PATH }}-Library-
9798
9899 - name : 🛠️ Build Unity Project (Test)
99- uses : game-ci/unity-builder@v5
100+ uses : game-ci/unity-builder@main
100101 timeout-minutes : 45
101102 with :
102103 customImage : ghcr.io/mob-sakai/unity3d:${{ matrix.unityVersion }}
@@ -110,7 +111,7 @@ jobs:
110111 UNITY_LICENSE : ${{ secrets.UNITY_LICENSE }}
111112
112113 - name : 🧪 Run tests
113- uses : game-ci/unity-test-runner@v4
114+ uses : game-ci/unity-test-runner@main
114115 timeout-minutes : 45
115116 with :
116117 customImage : ghcr.io/mob-sakai/unity3d:${{ matrix.unityVersion }}
0 commit comments