File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 branches : [ master ]
66
77env :
8- PACKAGE_MAJOR_VERSION : 5
8+ PACKAGE_MAJOR_VERSION : 6
99 PACKAGE_MINOR_VERSION : 0
1010 CURRENT_REPO_URL : https://github.com/${{ github.repository }}
1111
1616 steps :
1717 - name : Checkout repository
1818 uses : actions/checkout@v2
19+
20+ - name : Setup .NET 6
21+ uses : actions/setup-dotnet@v1
22+ with :
23+ dotnet-version : 6.0.x
1924
2025 - name : Setup .NET 6
2126 uses : actions/setup-dotnet@v1
4853 run : dotnet pack -c Release -o out -p:PackageVersion=${{ steps.semantic.outputs.new_release_version }} -p:RepositoryUrl=${{env.CURRENT_REPO_URL}}
4954
5055 - name : Publish the package to nuget.org
51- run : dotnet nuget push ./out/*.nupkg --skip-duplicate --no-symbols true -k ${{ secrets.NUGET_AUTH_TOKEN}} -s https://api.nuget.org/v3/index.json
56+ run : dotnet nuget push ./out/*.nupkg --skip-duplicate --no-symbols true -k ${{ secrets.NUGET_AUTH_TOKEN}} -s https://api.nuget.org/v3/index.json
You can’t perform that action at this time.
0 commit comments