Skip to content

Commit

Permalink
Fix missing environment and parameters in upload job
Browse files Browse the repository at this point in the history
  • Loading branch information
molinav committed Feb 26, 2025
1 parent 5d2a4e1 commit 7913a36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ jobs:
name: Upload packages
needs: [build_data, build_basemap, check]
runs-on: ubuntu-22.04
environment: PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v4
Expand All @@ -133,3 +134,5 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
repository-url: ${{ secrets.PYPI_REPOSITORY_URL }}
skip-existing: true

0 comments on commit 7913a36

Please sign in to comment.