Skip to content

Commit c9a97e4

Browse files
committed
chore: update wf
1 parent dc12088 commit c9a97e4

3 files changed

Lines changed: 16 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
split_to: ${{ steps.summary.outputs.split_to }}
2828
steps:
2929
- name: 🚚 Checkout (${{ github.ref_name }})
30-
uses: actions/checkout@v6
30+
uses: actions/checkout@v7
3131

3232
- name: 🔖 Run semantic release
3333
uses: cycjimmy/semantic-release-action@v6
@@ -67,7 +67,7 @@ jobs:
6767
contents: write
6868
steps:
6969
- name: 🚚 Checkout (${{ needs.release.outputs.merge_to }})
70-
uses: actions/checkout@v5
70+
uses: actions/checkout@v7
7171
with:
7272
ref: ${{ needs.release.outputs.merge_to }}
7373
fetch-depth: 0
@@ -88,7 +88,7 @@ jobs:
8888
contents: write
8989
steps:
9090
- name: 🚚 Checkout (${{ needs.release.outputs.tag }})
91-
uses: actions/checkout@v5
91+
uses: actions/checkout@v7
9292
with:
9393
ref: ${{ needs.release.outputs.tag }}
9494
fetch-depth: 0

.github/workflows/test-urp.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ run-name: 🧪 Test URP (${{ github.event.pull_request.title || github.ref_name
77

88
env:
99
# MINIMUM_VERSION: The minimum version of Unity.
10-
MINIMUM_VERSION: 6000.1
10+
MINIMUM_VERSION: 6000.0
1111
# EXCLUDE_FILTER: The excluded versions of Unity.
12-
EXCLUDE_FILTER: '(2020.2.0|2021.1|2023.3)'
12+
EXCLUDE_FILTER: "(2017|2018|2023.3)"
1313
PROJECT_PATH: ParticleEffectForUGUI_URP
1414

1515
on:
@@ -85,10 +85,10 @@ jobs:
8585
unityVersion: ${{ fromJson(needs.setup.outputs.unityVersions) }}
8686
steps:
8787
- name: 🚚 Checkout ($${{ github.ref }})
88-
uses: actions/checkout@v6
88+
uses: actions/checkout@v7
8989

9090
- name: 📥 Cache library
91-
uses: actions/cache@v5
91+
uses: actions/cache@v6
9292
with:
9393
path: ${{ env.PROJECT_PATH }}/Library
9494
key: ${{ env.PROJECT_PATH }}-Library-${{ matrix.unityVersion }}-${{ github.event.pull_request.head.sha || github.sha }}
@@ -97,7 +97,7 @@ jobs:
9797
${{ env.PROJECT_PATH }}-Library-
9898
9999
- name: 🛠️ Build Unity Project (Test)
100-
uses: game-ci/unity-builder@v5
100+
uses: game-ci/unity-builder@main
101101
timeout-minutes: 45
102102
with:
103103
customImage: ghcr.io/mob-sakai/unity3d:${{ matrix.unityVersion }}
@@ -111,7 +111,7 @@ jobs:
111111
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
112112

113113
# - name: 🧪 Run tests
114-
# uses: game-ci/unity-test-runner@v4
114+
# uses: game-ci/unity-test-runner@main
115115
# timeout-minutes: 45
116116
# with:
117117
# customImage: ghcr.io/mob-sakai/unity3d:${{ matrix.unityVersion }}

.github/workflows/test.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ run-name: 🧪 Test (${{ github.event.pull_request.title || github.ref_name }})
77

88
env:
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: .
@@ -45,7 +45,8 @@ jobs:
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 }}
@@ -96,7 +97,7 @@ jobs:
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

Comments
 (0)