diff --git a/.github/workflows/test_release.yml b/.github/workflows/test_release.yml index 6ad6431..8a2b249 100644 --- a/.github/workflows/test_release.yml +++ b/.github/workflows/test_release.yml @@ -55,8 +55,8 @@ jobs: run: | coverage run -m --source=./rlskyjo pytest tests coverage xml - - name: Upload coverage to Codecov for python 3.8 - if: ${{ matrix.python == '3.8' }} + - name: Upload coverage to Codecov for python 3.9 + if: ${{ matrix.python == '3.9' }} uses: codecov/codecov-action@v2 deploy_docs: @@ -130,10 +130,10 @@ jobs: name: Build and publish Python 🐍 distributions 📦 to PyPI steps: - uses: actions/checkout@master - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: "3.9" - name: Install pypa/build run: | @@ -148,9 +148,11 @@ jobs: password: ${{ secrets.TEST_PYPI_API_TOKEN}} repository_url: https://test.pypi.org/legacy/ - - name: Publish distribution 📦 to PyPI + - name: Publish package distributions to PyPI if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: - password: ${{ secrets.PYPI_API_TOKEN }} - \ No newline at end of file + packages-dir: dist/ + verbose: true + print-hash: true +