Skip to content

Commit 7913a36

Browse files
committed
Fix missing environment and parameters in upload job
1 parent 5d2a4e1 commit 7913a36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ jobs:
121121
name: Upload packages
122122
needs: [build_data, build_basemap, check]
123123
runs-on: ubuntu-22.04
124+
environment: PyPI
124125
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
125126
steps:
126127
- uses: actions/download-artifact@v4
@@ -133,3 +134,5 @@ jobs:
133134
uses: pypa/gh-action-pypi-publish@release/v1
134135
with:
135136
password: ${{ secrets.PYPI_TOKEN }}
137+
repository-url: ${{ secrets.PYPI_REPOSITORY_URL }}
138+
skip-existing: true

0 commit comments

Comments
 (0)