From 4dc42c398f186ea7ed7589cb32dfa93160303424 Mon Sep 17 00:00:00 2001 From: Peter Krull Date: Fri, 19 May 2023 13:20:03 -0600 Subject: [PATCH] Update nuget publish path for GitHub org rename --- .github/workflows/ci.yml | 2 +- ansys/api/additive/VERSION | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f35e73b..93cef23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,7 +117,7 @@ jobs: # Publish - name: build and publish 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/index.json" + 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" version=$(find . -name VERSION -exec cat "{}" \;) rm -rf nuget_package dotnet pack csharp/Ansys.Api.Additive.csproj -c Release -o nuget_package -p:PackageVersion=${version} diff --git a/ansys/api/additive/VERSION b/ansys/api/additive/VERSION index cb174d5..d2d61a7 100644 --- a/ansys/api/additive/VERSION +++ b/ansys/api/additive/VERSION @@ -1 +1 @@ -1.2.1 \ No newline at end of file +1.2.2 \ No newline at end of file diff --git a/setup.py b/setup.py index 9fa9104..64c8f3f 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ long_description_content_type="text/markdown", url=f"https://github.com/ansys/{package_name}", license="MIT", - python_requires=">=3.7", + python_requires=">=3.8", install_requires=["grpcio~=1.47", "protobuf>=3.19,<5"], packages=setuptools.find_namespace_packages(".", include=("ansys.*",)), package_data={