Skip to content

Commit

Permalink
Merge pull request #664 from biglocalnews/palewire-patch-10
Browse files Browse the repository at this point in the history
Remove test release from deployment action
  • Loading branch information
stucka authored Sep 8, 2024
2 parents 623ade6 + d38e6d3 commit 491e90b
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,38 +142,6 @@ jobs:
path: ./dist
if-no-files-found: error

test-release:
name: Test PyPI release
runs-on: ubuntu-latest
needs: [test-build]
if: startsWith(github.ref, 'refs/tags') == 0
steps:
- id: setup-python
name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.9'

- id: fetch
name: Fetch artifact
uses: actions/download-artifact@v4
with:
name: test-release-${{ github.run_number }}
path: ./dist

- id: publish
name: Publish release
uses: pypa/gh-action-pypi-publish@release/v1
env:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
if: env.PYPI_API_TOKEN != null
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
verbose: true
verify_metadata: false

tag-release:
name: Tagged PyPI release
runs-on: ubuntu-latest
Expand Down

0 comments on commit 491e90b

Please sign in to comment.