Skip to content

Commit fdea3aa

Browse files
committed
更新workflow,部署NET 9
1 parent e8fe050 commit fdea3aa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,30 @@ jobs:
1515
- name: Setup .NET
1616
uses: actions/setup-dotnet@v4
1717
with:
18-
dotnet-version: '8.x.x'
18+
dotnet-version: '9.x.x'
1919

2020
- name: Publish-arm64
2121
run: dotnet publish /p:RuntimeIdentifier=win-arm64
2222
- name: Rename-arm64
23-
run: Rename-Item -Path ./Mikoto/bin/Release/net8.0-windows/win-arm64/publish -NewName mikoto-arm64
23+
run: Rename-Item -Path ./Mikoto/bin/Release/net9.0-windows/win-arm64/publish -NewName mikoto-arm64
2424
- name: Zip-arm64
25-
run: Compress-Archive -Path ./Mikoto/bin/Release/net8.0-windows/win-arm64/mikoto-arm64 -Destination mikoto-arm64.zip
25+
run: Compress-Archive -Path ./Mikoto/bin/Release/net9.0-windows/win-arm64/mikoto-arm64 -Destination mikoto-arm64.zip
2626

2727

2828
- name: Publish-x64
2929
run: dotnet publish /p:RuntimeIdentifier=win-x64
3030
- name: Rename-x64
31-
run: Rename-Item -Path ./Mikoto/bin/Release/net8.0-windows/win-x64/publish -NewName mikoto-64bit
31+
run: Rename-Item -Path ./Mikoto/bin/Release/net9.0-windows/win-x64/publish -NewName mikoto-64bit
3232
- name: Zip-x64
33-
run: Compress-Archive -Path ./Mikoto/bin/Release/net8.0-windows/win-x64/mikoto-64bit -Destination mikoto-64bit.zip
33+
run: Compress-Archive -Path ./Mikoto/bin/Release/net9.0-windows/win-x64/mikoto-64bit -Destination mikoto-64bit.zip
3434

3535

3636
- name: Publish-x86
3737
run: dotnet publish /p:RuntimeIdentifier=win-x86
3838
- name: Rename-x86
39-
run: Rename-Item -Path ./Mikoto/bin/Release/net8.0-windows/win-x86/publish -NewName mikoto-32bit
39+
run: Rename-Item -Path ./Mikoto/bin/Release/net9.0-windows/win-x86/publish -NewName mikoto-32bit
4040
- name: Zip-x86
41-
run: Compress-Archive -Path ./Mikoto/bin/Release/net8.0-windows/win-x86/mikoto-32bit -Destination mikoto-32bit.zip
41+
run: Compress-Archive -Path ./Mikoto/bin/Release/net9.0-windows/win-x86/mikoto-32bit -Destination mikoto-32bit.zip
4242

4343

4444
- name: Create Release and Upload Release Asset

0 commit comments

Comments
 (0)