File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ name: Publish package
10
10
name : Upload Python Package
11
11
12
12
on :
13
- release
13
+ release :
14
14
types : [published]
15
15
16
16
jobs :
43
43
# if: startsWith(github.ref, 'refs/tags')
44
44
uses : pypa/gh-action-pypi-publish@release/v1
45
45
with :
46
- permissions :
47
- contents : read
48
-
49
- jobs :
50
- deploy :
51
-
52
- runs-on : ubuntu-latest
53
-
54
- steps :
55
- - uses : actions/checkout@v3
56
- - name : Set up Python
57
- uses : actions/setup-python@v3
58
- with :
59
- python-version : ' 3.x'
60
- - name : Install dependencies
61
- run : |
62
- python -m pip install --upgrade pip
63
- pip install build
64
- - name : Build package
65
- run : python -m build
66
- - name : Publish package
67
- uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
68
- with :
69
46
user : __token__
70
47
password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments