File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1414 PACKAGE_NAME : " ansys.api.additive"
1515 DEFINITION_VERSION : " v0"
1616 DOTNET_VERSION : " 6.0.x"
17+ GITHUB_NUGET_REPO : " https://nuget.pkg.github.com/ansys-internal/index.json"
1718
1819jobs :
1920 build :
7273 # Publish
7374 - name : Build nuget package
7475 run : |
75- dotnet nuget add source --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/ansys-internal/index.json "
76+ dotnet nuget add source --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "${{ env.GITHUB_NUGET_REPO }} "
7677 version=$(find . -name VERSION -exec cat "{}" \;)
7778 rm -rf nuget_package
7879 dotnet pack csharp/Ansys.Api.Additive.csproj -c Release -o nuget_package -p:Version=${version}
@@ -147,4 +148,5 @@ jobs:
147148
148149 - name : Publish nuget package
149150 run : |
151+ dotnet nuget add source --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "${{ env.GITHUB_NUGET_REPO }}"
150152 dotnet nuget push ./**/*.nupkg --source github
Original file line number Diff line number Diff line change 1- 1.2.4
1+ 1.2.5
You can’t perform that action at this time.
0 commit comments