File tree Expand file tree Collapse file tree 5 files changed +16
-25
lines changed Expand file tree Collapse file tree 5 files changed +16
-25
lines changed Original file line number Diff line number Diff line change 1515 with :
1616 dotnet-version : 8.0.x
1717 - working-directory : ./src/backend/NSExt
18- run : dotnet build -c Release
18+ run : dotnet build -c Release -f net6.0
19+ - working-directory : ./src/backend/NSExt
20+ run : dotnet build -c Release -f net7.0
21+ - working-directory : ./src/backend/NSExt
22+ run : dotnet build -c Release -f net8.0
23+ - working-directory : ./src/backend/NSExt
24+ run : dotnet pack -c Release --no-build
1925 - uses : actions/create-release@v1
2026 env :
2127 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2430 release_name : Release ${{ github.ref }}
2531 draft : false
2632 prerelease : false
27- - run : dotnet nuget push ./dist/backend/NSExt/bin/Release/NSExt.${{ github.ref }}.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
28- - run : dotnet nuget push ./dist/backend/NSExt/bin/Release/NSExt.${{ github.ref }}.snupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
33+ - id : get_version
34+ run : echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
35+ - run : dotnet nuget push ./dist/backend/NSExt/bin/Release/NSExt.${{ steps.get_version.outputs.VERSION }}.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
36+ - run : dotnet nuget push ./dist/backend/NSExt/bin/Release/NSExt.${{ steps.get_version.outputs.VERSION }}.snupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ All notable changes to this project will be documented in this file. See [standa
88### Features
99
1010* ++ ([ e41652d] ( https://github.com/nsnail/NSExt/commit/e41652d553beda7a2eb1600da4795e07f4260330 ) )
11- * 增加一些扩展方法 ([ 1f26d0f] ( https://github.com/nsnail/NSExt/commit/1f26d0f28098f7ee98a9a5482096aecd53b85e04 ) )
11+ * 增加一些扩展方法 ([ 1f26d0f] ( https://github.com/nsnail/NSExt/commit/1f26d0f28098f7ee98a9a5482096aecd53b85e04 ) )
Original file line number Diff line number Diff line change 77 "commands" : [
88 " t4"
99 ]
10- },
11- "dotnet-script" : {
12- "version" : " 1.5.0" ,
13- "commands" : [
14- " dotnet-script"
15- ]
16- },
17- "jetbrains.resharper.globaltools" : {
18- "version" : " 2023.3.0" ,
19- "commands" : [
20- " jb"
21- ]
22- },
23- "dnt" : {
24- "version" : " 1.8.3" ,
25- "commands" : [
26- " dnt"
27- ]
2810 }
2911 }
3012}
Original file line number Diff line number Diff line change 1111 "path" : " node_modules/cz-git"
1212 }
1313 }
14- }
14+ }
Original file line number Diff line number Diff line change 44 <DelaySign >false</DelaySign >
55 <EmbedAllSources >true</EmbedAllSources >
66 <EmbedUntrackedSource >true</EmbedUntrackedSource >
7- <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
87 <IncludeSymbols >true</IncludeSymbols >
98 <IsPackable >true</IsPackable >
109 <PackageIcon >logo.png</PackageIcon >
1110 <PackageLicenseExpression >MIT</PackageLicenseExpression >
1211 <PackageProjectUrl >https://github.com/nsnail/NSExt.git</PackageProjectUrl >
12+ <PackageReadmeFile >README.md</PackageReadmeFile >
1313 <PackageTags >extensions</PackageTags >
1414 <PublishRepositoryUrl >true</PublishRepositoryUrl >
1515 <RootNamespace >NSExt</RootNamespace >
2323 <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 8.0.0" />
2424 </ItemGroup >
2525 <ItemGroup >
26- <None Include =" ../../../assets/logo.png" Pack =" true" PackagePath =" " />
26+ <None Include =" ../../../assets/logo.png" Pack =" true" PackagePath =" /" />
27+ <None Include =" ../../../README.md" Pack =" true" PackagePath =" /" />
2728 <None Update =" *.json" >
2829 <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
2930 </None >
You can’t perform that action at this time.
0 commit comments