File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 13
13
types : [published]
14
14
15
15
jobs :
16
- deploy :
16
+ publish :
17
17
runs-on : ubuntu-latest
18
+ permissions :
19
+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
20
+
18
21
steps :
19
22
- uses : actions/checkout@v4
20
23
- name : Set up Python
21
24
uses : actions/setup-python@v5
22
25
with :
23
26
python-version : ' 3.11'
24
27
cache-dependency-path : poetry.lock
28
+
25
29
- name : Install dependencies
26
30
run : |
27
31
python -m pip install --upgrade pip
28
32
pip install build
33
+
29
34
- name : Build package
30
35
run : python -m build
31
- - name : Publish package
36
+
37
+ - name : Publish package to pypi
32
38
uses : pypa/gh-action-pypi-publish@v1.8.14
33
39
with :
34
- user : __token__
35
- password : ${{ secrets.PYPI_API_TOKEN }}
40
+ print_hash : true
You can’t perform that action at this time.
0 commit comments