Skip to content

Commit

Permalink
Merge pull request #43 from icub-tech-iit/traversaro-patch-1
Browse files Browse the repository at this point in the history
Use v1 of gh-action-pypi-publish instead of master
  • Loading branch information
Nicogene authored Oct 25, 2024
2 parents 06dcd94 + 6a9bae9 commit b9adfd1
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/pypi-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,6 @@ jobs:
name: dist
path: dist

deploy_test_PyPI:
name: 📦 Deploy to TestPyPI
runs-on: ubuntu-24.04
needs: [build_wheels]
if: github.ref == 'refs/heads/main'
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: dist
path: dist

- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/

deploy_PyPI:
name: 📦 Deploy to PyPI
runs-on: ubuntu-24.04
Expand All @@ -72,6 +54,6 @@ jobs:
path: dist

- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit b9adfd1

Please sign in to comment.