Skip to content

Commit 2d219d0

Browse files
authored
Merge branch 'main' into claude/issue-523-20260304-2141
2 parents 7f0ab9b + ded78ca commit 2d219d0

42 files changed

Lines changed: 505 additions & 148 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/setup-unity-mcp/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ runs:
4747

4848
- name: Cache Unity Library
4949
if: inputs.cache-library == 'true'
50-
uses: actions/cache@v4
50+
uses: actions/cache@v5
5151
with:
5252
path: ${{ inputs.unity-project-path }}/Library
5353
key: unity-library-${{ steps.unity-version.outputs.unity_version }}-ubuntu-base

.github/actions/unity/activate-license/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ runs:
3131
using: "composite"
3232
steps:
3333
- name: Setup Node.js
34-
uses: actions/setup-node@v4
34+
uses: actions/setup-node@v6
3535
with:
3636
node-version: "20"
3737

@@ -95,7 +95,7 @@ runs:
9595

9696
- name: Upload error screenshot
9797
if: failure()
98-
uses: actions/upload-artifact@v4
98+
uses: actions/upload-artifact@v6
9999
with:
100100
name: unity-license-error-${{ inputs.unityVersion }}
101101
path: error.png

.github/workflows/bump_version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fi
2929
3030
- name: Checkout repository
31-
uses: actions/checkout@v5
31+
uses: actions/checkout@v6
3232
with:
3333
token: ${{ secrets.GITHUB_TOKEN }}
3434

.github/workflows/claude.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ on:
2222
jobs:
2323
claude:
2424
if: |
25-
github.event_name == 'workflow_dispatch' ||
26-
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
27-
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
28-
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
29-
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
25+
github.actor == 'IvanMurzak' && (
26+
github.event_name == 'workflow_dispatch' ||
27+
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
28+
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
29+
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
30+
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
31+
)
3032
runs-on: ubuntu-latest
3133
permissions:
3234
contents: write
@@ -36,14 +38,14 @@ jobs:
3638
actions: read # Required for Claude to read CI results on PRs
3739
steps:
3840
- name: Setup .NET
39-
uses: actions/setup-dotnet@v4
41+
uses: actions/setup-dotnet@v5
4042
with:
4143
dotnet-version: |
4244
8.0.x
4345
9.0.x
4446
4547
- name: Checkout repository
46-
uses: actions/checkout@v5
48+
uses: actions/checkout@v6
4749
with:
4850
fetch-depth: 1
4951

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
# If you do not check out your code, Copilot will do this for you.
3636
steps:
3737
- name: Checkout code
38-
uses: actions/checkout@v5
38+
uses: actions/checkout@v6
3939

4040
- name: Setup Unity MCP
4141
uses: ./.github/actions/setup-unity-mcp

.github/workflows/deploy.yml

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
name: deploy
1010

1111
on:
12-
release:
13-
types: [released]
14-
1512
workflow_dispatch:
1613
inputs:
1714
version:
@@ -34,7 +31,7 @@ jobs:
3431
contents: read
3532
steps:
3633
- name: Checkout repository
37-
uses: actions/checkout@v5
34+
uses: actions/checkout@v6
3835

3936
- name: Extract version from tag
4037
id: version
@@ -44,7 +41,7 @@ jobs:
4441
echo "Extracted version: $version"
4542
4643
- name: Setup .NET
47-
uses: actions/setup-dotnet@v4
44+
uses: actions/setup-dotnet@v5
4845
with:
4946
dotnet-version: "9.0.x"
5047

@@ -68,6 +65,12 @@ jobs:
6865
cd Unity-MCP-Server
6966
dotnet pack com.IvanMurzak.Unity.MCP.Server.csproj --no-build --configuration Release --output ./nupkg
7067
68+
- name: NuGet login (Trusted Publishing)
69+
uses: NuGet/login@v1
70+
id: nuget-login
71+
with:
72+
user: IvanMurzak
73+
7174
- name: Deploy MCP Server NuGet package
7275
run: |
7376
cd Unity-MCP-Server
@@ -78,32 +81,32 @@ jobs:
7881
exit 1
7982
fi
8083
echo "Deploying NuGet package: $nupkg_file (version: ${{ steps.version.outputs.version }})"
81-
dotnet nuget push "$nupkg_file" --api-key az --source https://api.nuget.org/v3/index.json
84+
dotnet nuget push "$nupkg_file" --api-key ${{ steps.nuget-login.outputs.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
8285
8386
deploy-docker-image:
8487
runs-on: ubuntu-latest
8588
steps:
8689
- name: Checkout repository
87-
uses: actions/checkout@v5
90+
uses: actions/checkout@v6
8891

8992
- name: Extract version from tag
9093
id: version
9194
run: |
92-
version=${{ inputs.version || github.event.release.tag_name }}
95+
version=${{ inputs.version }}
9396
echo "version=$version" >> $GITHUB_OUTPUT
9497
echo "Extracted version: $version"
9598
9699
- name: Set up Docker Buildx
97-
uses: docker/setup-buildx-action@v3
100+
uses: docker/setup-buildx-action@v4
98101

99102
- name: Log in to Docker Hub
100-
uses: docker/login-action@v3
103+
uses: docker/login-action@v4
101104
with:
102105
username: ${{ secrets.DOCKER_USERNAME }}
103106
password: ${{ secrets.DOCKER_PASSWORD }}
104107

105108
- name: Build and push Docker image
106-
uses: docker/build-push-action@v5
109+
uses: docker/build-push-action@v7
107110
with:
108111
context: ./Unity-MCP-Server
109112
push: true
@@ -121,14 +124,26 @@ jobs:
121124
id-token: write
122125
steps:
123126
- name: Checkout repository
124-
uses: actions/checkout@v5
127+
uses: actions/checkout@v6
125128

126129
- name: Setup Node.js
127-
uses: actions/setup-node@v4
130+
uses: actions/setup-node@v6
128131
with:
129-
node-version: "22"
132+
node-version: "24"
130133
registry-url: "https://registry.npmjs.org"
131134

135+
- name: Extract version from tag
136+
id: version
137+
run: |
138+
version=${{ inputs.version }}
139+
echo "version=$version" >> $GITHUB_OUTPUT
140+
echo "Extracted version: $version"
141+
142+
- name: Set package version
143+
run: |
144+
cd cli
145+
npm version ${{ steps.version.outputs.version }} --no-git-tag-version
146+
132147
- name: Install dependencies
133148
run: |
134149
cd cli

.github/workflows/deploy_server_executables.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
runs-on: macos-latest
2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v5
24+
uses: actions/checkout@v6
2525

2626
- name: Setup .NET
27-
uses: actions/setup-dotnet@v4
27+
uses: actions/setup-dotnet@v5
2828
with:
2929
dotnet-version: "9.0.x"
3030

.github/workflows/release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
tag_exists: ${{ steps.tag_exists.outputs.exists }}
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v5
28+
uses: actions/checkout@v6
2929
with:
3030
fetch-depth: 0
3131
fetch-tags: true
@@ -38,11 +38,11 @@ jobs:
3838

3939
- name: Find previous version tag
4040
id: prev_tag
41-
uses: WyriHaximus/github-action-get-previous-tag@v1
41+
uses: WyriHaximus/github-action-get-previous-tag@v2
4242

4343
- name: Check if tag exists
4444
id: tag_exists
45-
uses: mukunku/tag-exists-action@v1.6.0
45+
uses: mukunku/tag-exists-action@v1.7.0
4646
with:
4747
tag: ${{ steps.get_version.outputs.current-version }}
4848

@@ -52,7 +52,7 @@ jobs:
5252
if: needs.check-version-tag.outputs.tag_exists == 'false'
5353
steps:
5454
- name: Checkout repository
55-
uses: actions/checkout@v5
55+
uses: actions/checkout@v6
5656

5757
- name: Activate Unity license
5858
id: activate
@@ -74,7 +74,7 @@ jobs:
7474
shell: bash
7575

7676
- name: Cache Unity Library
77-
uses: actions/cache@v4
77+
uses: actions/cache@v5
7878
with:
7979
path: ./Installer/Library
8080
key: Library-Unity-Installer
@@ -120,7 +120,7 @@ jobs:
120120
customParameters: -CI true -GITHUB_ACTIONS true
121121

122122
- name: Upload Unity Package as artifact
123-
uses: actions/upload-artifact@v4
123+
uses: actions/upload-artifact@v6
124124
with:
125125
name: unity-installer-package
126126
path: ./Installer/build/AI-Game-Dev-Installer.unitypackage
@@ -131,10 +131,10 @@ jobs:
131131
if: needs.check-version-tag.outputs.tag_exists == 'false'
132132
steps:
133133
- name: Checkout repository
134-
uses: actions/checkout@v5
134+
uses: actions/checkout@v6
135135

136136
- name: Setup .NET
137-
uses: actions/setup-dotnet@v4
137+
uses: actions/setup-dotnet@v5
138138
with:
139139
dotnet-version: "9.0.x"
140140

@@ -146,7 +146,7 @@ jobs:
146146
run: cd Unity-MCP-Server && ./build-all.sh Release
147147

148148
- name: Upload build zips as artifact
149-
uses: actions/upload-artifact@v4
149+
uses: actions/upload-artifact@v6
150150
with:
151151
name: mcp-server-zips
152152
path: ./Unity-MCP-Server/publish/*.zip
@@ -267,7 +267,7 @@ jobs:
267267
release_notes: ${{ steps.rel_desc.outputs.release_body }}
268268
steps:
269269
- name: Checkout repository
270-
uses: actions/checkout@v5
270+
uses: actions/checkout@v6
271271
with:
272272
fetch-depth: 0
273273
fetch-tags: true
@@ -330,7 +330,7 @@ jobs:
330330
if: needs.release-unity-plugin.outputs.success == 'true'
331331
steps:
332332
- name: Download Unity Package artifact
333-
uses: actions/download-artifact@v4
333+
uses: actions/download-artifact@v6
334334
with:
335335
name: unity-installer-package
336336
path: ./
@@ -349,10 +349,10 @@ jobs:
349349
if: needs.release-unity-plugin.outputs.success == 'true'
350350
steps:
351351
- name: Checkout repository
352-
uses: actions/checkout@v5
352+
uses: actions/checkout@v6
353353

354354
- name: Download build zips artifact
355-
uses: actions/download-artifact@v4
355+
uses: actions/download-artifact@v6
356356
with:
357357
name: mcp-server-zips
358358
path: ./Unity-MCP-Server/publish

.github/workflows/test_cli.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
node-version: [20, 22]
2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v5
22+
uses: actions/checkout@v6
2323

2424
- name: Setup Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v4
25+
uses: actions/setup-node@v6
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828

.github/workflows/test_pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
runs-on: macos-latest
2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v5
26+
uses: actions/checkout@v6
2727

2828
- name: Setup .NET
29-
uses: actions/setup-dotnet@v4
29+
uses: actions/setup-dotnet@v5
3030
with:
3131
dotnet-version: "9.0.x"
3232

0 commit comments

Comments
 (0)