Skip to content

Commit 7a0cb91

Browse files
committed
Update release.yml
1 parent 5fc2076 commit 7a0cb91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup .NET
1717
uses: actions/setup-dotnet@v1
1818
with:
19-
dotnet-version: 7.0.x
19+
dotnet-version: 8.0.x
2020

2121
- name: Restore dependencies
2222
run: dotnet restore
@@ -34,7 +34,7 @@ jobs:
3434
- name: Create zip
3535
shell: pwsh
3636
# 配置【编译后的文件地址】
37-
run: Compress-Archive -Path ${{github.workspace}}\src\bin\Release\net7.0-windows\win-x64\publish\* -DestinationPath ${{github.workspace}}\src\bin\Release\ComputerLock_${{ steps.tagName.outputs.tag }}_win_x64.zip
37+
run: Compress-Archive -Path ${{github.workspace}}\src\bin\Release\net8.0-windows\win-x64\publish\* -DestinationPath ${{github.workspace}}\src\bin\Release\ComputerLock_${{ steps.tagName.outputs.tag }}_win_x64.zip
3838

3939
- name: Release
4040
uses: softprops/[email protected]

0 commit comments

Comments
 (0)