File tree Expand file tree Collapse file tree 3 files changed +7
-44
lines changed Expand file tree Collapse file tree 3 files changed +7
-44
lines changed Original file line number Diff line number Diff line change 88 - hotfix
99
1010jobs :
11- NET9 :
12- runs-on : ubuntu-latest
13- permissions :
14- id-token : write
15- contents : read
16-
17- steps :
18- - uses : actions/checkout@v4
19-
20- - name : Setup .NET Core SDK
21- uses : actions/setup-dotnet@v4
22- with :
23- dotnet-version : 9.0.x
24-
25- - name : Cache NuGet packages
26- uses : actions/cache@v4
27- with :
28- path : ~/.nuget/packages
29- key : ${{runner.os}}-nuget-bb-${{hashFiles('**/*.csproj')}}
30- restore-keys : |
31- ${{runner.os}}-nuget-bb-
32-
33- - name : Restore dependencies
34- run : dotnet restore src/BootstrapBlazor
35-
36- - name : NuGet login
37- uses : NuGet/login@v1
38- id : login
39- with :
40- user : ${{ secrets.NUGET_USER }}
41-
42- - name : Publish to Nuget
43- env :
44- NUGET_API_KEY : ${{steps.login.outputs.NUGET_API_KEY}}
45- Bundle : True
46-
47- run : |
48- dotnet build src/BootstrapBlazor
49- dotnet pack src/BootstrapBlazor -c Release -o publish
50- dotnet nuget push publish/BootstrapBlazor.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
51-
52- NET10 :
11+ pack :
5312 runs-on : ubuntu-latest
5413 permissions :
5514 id-token : write
8746
8847 run : |
8948 dotnet build src/BootstrapBlazor
90- dotnet pack src/BootstrapBlazor -c Release -o publish
49+ dotnet pack src/BootstrapBlazor -c Release -o publish -p:VisualStudioVersion='17.0'
50+ dotnet nuget push publish/BootstrapBlazor.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
51+ rm -f publish/BootstrapBlazor.*.nupkg
52+ dotnet pack src/BootstrapBlazor -c Release -o publish -p:VisualStudioVersion='18.0'
9153 dotnet nuget push publish/BootstrapBlazor.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
Original file line number Diff line number Diff line change 99 <Folder Name =" /configuration/" >
1010 <File Path =" .editorconfig" />
1111 <File Path =" .gitignore" />
12+ <File Path =" Directory.Build.props" />
1213 <File Path =" exclusion.dic" />
1314 <File Path =" Framework.props" />
1415 <File Path =" Version.props" />
Original file line number Diff line number Diff line change 1111 </PropertyGroup >
1212
1313 <PropertyGroup >
14- <LangVersion >preview </LangVersion >
14+ <LangVersion >latest </LangVersion >
1515 <AccelerateBuildsInVisualStudio >true</AccelerateBuildsInVisualStudio >
1616 <SuppressNETCoreSdkPreviewMessage >true</SuppressNETCoreSdkPreviewMessage >
1717 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments