Skip to content

Commit

Permalink
Merge pull request #10 from mindmelting/fix/update-gh-action-tag
Browse files Browse the repository at this point in the history
fix: Update sunsetted tag for pypi publish action
  • Loading branch information
mindmelting authored Feb 4, 2024
2 parents 63f8741 + 354efa8 commit 9debbe3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ jobs:
name: Build test and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
runs-on: ubuntu-20.04

permissions:
id-token: write

steps:
- uses: actions/checkout@master
- name: Set up Python 3.9
Expand Down Expand Up @@ -45,9 +42,9 @@ jobs:
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip_existing: true
skip-existing: true
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 9debbe3

Please sign in to comment.