Skip to content

Commit ca4345e

Browse files
committed
refactor: 增加自定义参数
1 parent c73ba40 commit ca4345e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pack.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- pack
77
- release
88
- hotfix
9+
- refactor-action
910

1011
jobs:
1112
NET9:
@@ -20,7 +21,7 @@ jobs:
2021
- name: Setup .NET Core SDK
2122
uses: actions/setup-dotnet@v4
2223
with:
23-
dotnet-version: 9.0.x
24+
dotnet-version: 10.0.x
2425

2526
- name: Cache NuGet packages
2627
uses: actions/cache@v4
@@ -46,7 +47,7 @@ jobs:
4647

4748
run: |
4849
dotnet build src/BootstrapBlazor
49-
dotnet pack src/BootstrapBlazor -c Release -o publish
50+
dotnet pack src/BootstrapBlazor -c Release -o publish -p:VisualStudioVersion='17.0'
5051
dotnet nuget push publish/BootstrapBlazor.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
5152
5253
NET10:

0 commit comments

Comments
 (0)