File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 66 - created
77
88jobs :
9- release :
10- name : release
9+ pypi-publish :
10+ name : upload release to PyPI
1111 runs-on : ubuntu-latest
12- if : ${{ github.repository }} == 'stac-utils/stac-geoparquet'
12+ # Specifying a GitHub environment is optional, but strongly encouraged
13+ # environment: release
14+ permissions :
15+ id-token : write
1316 steps :
14- - uses : actions/checkout@v2
15-
17+ # retrieve your distributions here
1618 - name : Set up Python 3.x
1719 uses : actions/setup-python@v2
1820 with :
@@ -21,12 +23,11 @@ jobs:
2123 - name : Install release dependencies
2224 run : |
2325 python -m pip install --upgrade pip
24- pip install setuptools wheel twine build
26+ python -m pip install build
2527
26- - name : Build and publish package
27- env :
28- TWINE_USERNAME : " __token__"
29- TWINE_PASSWORD : ${{ secrets.TWINE_PASSWORD }}
28+ - name : Build package
3029 run : |
3130 python -m build
32- twine upload dist/*
31+
32+ - name : Publish package distributions to PyPI
33+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments