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 6
6
- created
7
7
8
8
jobs :
9
- release :
10
- name : release
9
+ pypi-publish :
10
+ name : upload release to PyPI
11
11
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
13
16
steps :
14
- - uses : actions/checkout@v2
15
-
17
+ # retrieve your distributions here
16
18
- name : Set up Python 3.x
17
19
uses : actions/setup-python@v2
18
20
with :
@@ -21,12 +23,11 @@ jobs:
21
23
- name : Install release dependencies
22
24
run : |
23
25
python -m pip install --upgrade pip
24
- pip install setuptools wheel twine build
26
+ python -m pip install build
25
27
26
- - name : Build and publish package
27
- env :
28
- TWINE_USERNAME : " __token__"
29
- TWINE_PASSWORD : ${{ secrets.TWINE_PASSWORD }}
28
+ - name : Build package
30
29
run : |
31
30
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