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/* 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(