From 5d852682e66949c4efc48d3609a77fb7903e89e8 Mon Sep 17 00:00:00 2001 From: Sepehr Karimiziarani <112987653+sepehrkrz@users.noreply.github.com> Date: Mon, 30 Oct 2023 20:30:14 -0500 Subject: [PATCH 1/2] Update python-publish.yml --- .github/workflows/python-publish.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index ae0e11e..9df30cf 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -10,7 +10,12 @@ jobs: runs-on: ubuntu-latest environment: production steps: - + - name: var APP_ID + run: echo " My App ID is ${{ vars.APP_KEY }}" + + - name: SECRET API_KEY + run: echo " My secret ID is ${{ secrets.PYPI_API_TOKEN }}" + - name: Checkout code uses: actions/checkout@v2 @@ -26,9 +31,13 @@ jobs: - name: Install dependencies run: pip install setuptools wheel - + - name: List Secrets + run: | + echo "Available secrets:" + env - name: Build and deploy package run: | python setup.py sdist bdist_wheel pip install twine==4.0.2 + echo "PYPI_API_TOKEN: ${{ secrets.SEPEHR }}" # Print the API token twine upload -u '__token__' -p ${{ secrets.PYPI_API_TOKEN }} dist/* From db1bf140c8a75107d11c6f1611faaeaa035ef09d Mon Sep 17 00:00:00 2001 From: Sepehr Karimiziarani <112987653+sepehrkrz@users.noreply.github.com> Date: Mon, 30 Oct 2023 20:30:26 -0500 Subject: [PATCH 2/2] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4bccc77..dfb56d9 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ """ # Other information -VERSION = '0.1.1' +VERSION = '0.1.2' DESCRIPTION = 'URL generator tool for National Water Model data' setup(