From 96241c0ff64a9c7448315835f8f1f1d55586db04 Mon Sep 17 00:00:00 2001 From: Michael Feil <63565275+michaelfeil@users.noreply.github.com> Date: Thu, 20 Jun 2024 01:28:08 -0700 Subject: [PATCH] Update test_release.yml --- .github/workflows/test_release.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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 +