File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,10 +21,12 @@ jobs:
2121
2222 - name : Build
2323 run : dotnet build --configuration Release --no-restore
24+ working-directory : ./src/CAD/
2425
2526 # 自动从 Tag 名称提取版本号并打包
26- - name : Pack
27- run : dotnet pack --configuration Release /p:PackageVersion=${{ github.ref_name }} --output ./dist
28-
29- - name : Publish to NuGet
30- run : dotnet nuget push ./dist*.nupkg --api-key ${{ secrets.NUGET_AUTH_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate
27+ - name : Pack NuGet Package
28+ uses : alirezanet/publish-nuget@v3.1.0
29+ with :
30+ PROJECT_FILE_PATH : src\CAD\IFox.CAD.ACAD\IFox.CAD.ACAD.csproj
31+ NUGET_KEY : ${{ secrets.NUGET_AUTH_TOKEN }}
32+ NUGET_SOURCE : https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change 11<Project >
22
33 <PropertyGroup > <!-- 需要设置的内容-->
4- <Version >0.7.2 </Version >
5- <PackageReleaseNotes >发布0.7.2 </PackageReleaseNotes >
4+ <Version >0.7.3.0 </Version >
5+ <PackageReleaseNotes >发布0.7.3 </PackageReleaseNotes >
66 </PropertyGroup >
77
88 <PropertyGroup >
You can’t perform that action at this time.
0 commit comments