Skip to content

Commit c9d8390

Browse files
committed
chore: update workflows
1 parent cc1ee10 commit c9d8390

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
tag: ${{ steps.release.outputs.new_release_git_tag }}
2626
steps:
2727
- name: 🚚 Checkout (${{ github.ref_name }})
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v5
2929

3030
- name: 🔖 Run semantic release
3131
uses: cycjimmy/semantic-release-action@v4

.github/workflows/test-urp.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
id: setup
4747
run: |
4848
echo "==== Target Unity Versions ===="
49-
LATEST_VERSIONS=`npx unity-changeset list --versions --latest-patch --min ${MINIMUM_VERSION} --json --all`
49+
LATEST_VERSIONS=`npx unity-changeset@latest list --versions --latest-patch --min ${MINIMUM_VERSION} --json --all`
5050
if [ "${{ inputs.usePeriodVersions }}" = "true" ]; then
5151
ADDITIONAL_VERSIONS=`npx unity-changeset list --versions --grep '0f' --min ${MINIMUM_VERSION} --json`
5252
else
@@ -72,11 +72,11 @@ jobs:
7272
steps:
7373
- name: 🚚 Checkout ($${{ github.ref }})
7474
if: github.event_name == 'push'
75-
uses: actions/checkout@v4
75+
uses: actions/checkout@v5
7676

7777
- name: 🚚 Checkout pull request (pull_request_target)
7878
if: github.event_name == 'pull_request_target'
79-
uses: actions/checkout@v4
79+
uses: actions/checkout@v5
8080
with:
8181
ref: ${{ github.event.pull_request.head.sha }}
8282
fetch-depth: 0
@@ -99,7 +99,7 @@ jobs:
9999
${{ env.PROJECT_PATH }}-Library-
100100
101101
- name: 🛠️ Build Unity Project (Test)
102-
uses: game-ci/unity-builder@v4
102+
uses: game-ci/unity-builder@main
103103
timeout-minutes: 45
104104
with:
105105
customImage: ghcr.io/mob-sakai/unity3d:${{ matrix.unityVersion }}

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
# MINIMUM_VERSION: The minimum version of Unity.
1010
MINIMUM_VERSION: 2019.4
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: .
1414

1515
on:
@@ -46,7 +46,7 @@ jobs:
4646
id: setup
4747
run: |
4848
echo "==== Target Unity Versions ===="
49-
LATEST_VERSIONS=`npx unity-changeset list --versions --latest-patch --min ${MINIMUM_VERSION} --json --all`
49+
LATEST_VERSIONS=`npx unity-changeset@latest list --versions --latest-patch --min ${MINIMUM_VERSION} --json --all`
5050
if [ "${{ inputs.usePeriodVersions }}" = "true" ]; then
5151
ADDITIONAL_VERSIONS=`npx unity-changeset list --versions --grep '0f' --min ${MINIMUM_VERSION} --json`
5252
else
@@ -72,11 +72,11 @@ jobs:
7272
steps:
7373
- name: 🚚 Checkout ($${{ github.ref }})
7474
if: github.event_name == 'push'
75-
uses: actions/checkout@v4
75+
uses: actions/checkout@v5
7676

7777
- name: 🚚 Checkout pull request (pull_request_target)
7878
if: github.event_name == 'pull_request_target'
79-
uses: actions/checkout@v4
79+
uses: actions/checkout@v5
8080
with:
8181
ref: ${{ github.event.pull_request.head.sha }}
8282
fetch-depth: 0
@@ -99,7 +99,7 @@ jobs:
9999
${{ env.PROJECT_PATH }}-Library-
100100
101101
- name: 🛠️ Build Unity Project (Test)
102-
uses: game-ci/unity-builder@v4
102+
uses: game-ci/unity-builder@main
103103
timeout-minutes: 45
104104
with:
105105
customImage: ghcr.io/mob-sakai/unity3d:${{ matrix.unityVersion }}

0 commit comments

Comments
 (0)