Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:
PACKAGE_NAME: "ansys.api.additive"
DEFINITION_VERSION: "v0"
DOTNET_VERSION: "6.0.x"
GITHUB_NUGET_REPO: "https://nuget.pkg.github.com/ansys-internal/index.json"

jobs:
build:
Expand Down Expand Up @@ -72,7 +73,7 @@ jobs:
# Publish
- name: Build nuget package
run: |
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"
dotnet nuget add source --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "${{ env.GITHUB_NUGET_REPO }}"
version=$(find . -name VERSION -exec cat "{}" \;)
rm -rf nuget_package
dotnet pack csharp/Ansys.Api.Additive.csproj -c Release -o nuget_package -p:Version=${version}
Expand Down Expand Up @@ -147,4 +148,5 @@ jobs:

- name: Publish nuget package
run: |
dotnet nuget add source --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "${{ env.GITHUB_NUGET_REPO }}"
dotnet nuget push ./**/*.nupkg --source github
2 changes: 1 addition & 1 deletion ansys/api/additive/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.4
1.2.5