File tree Expand file tree Collapse file tree 1 file changed +11
-17
lines changed Expand file tree Collapse file tree 1 file changed +11
-17
lines changed Original file line number Diff line number Diff line change 1
- name : deploy-release
2
-
1
+ name : Deploy release
3
2
on :
4
3
push :
5
4
tags :
6
- - ' *'
7
-
5
+ - ' *'
8
6
jobs :
9
7
pypi :
8
+ permissions :
9
+ id-token : write
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v3
12
+ - uses : actions/checkout@v4
13
13
- name : Setup Python
14
14
uses : actions/setup-python@v4
15
15
with :
16
- python-version : ' 3.10'
17
- - name : Install Hatch
18
- run : |
19
- python -m pip install -U hatch
16
+ python-version : ' 3.11'
17
+ - name : Install dependencies
18
+ run : pip install -U build
20
19
- name : Build package
21
- run : |
22
- hatch build
23
- - name : Publish
24
- run : |
25
- hatch publish
26
- env :
27
- HATCH_INDEX_USER : __token__
28
- HATCH_INDEX_AUTH : ${{ secrets.PYPI_PASSWORD }}
20
+ run : python -m build
21
+ - name : Publish to PyPI
22
+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments