File tree 1 file changed +14
-18
lines changed
1 file changed +14
-18
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
deploy :
12
-
13
12
runs-on : ubuntu-latest
14
-
13
+ permissions :
14
+ id-token : write
15
15
steps :
16
- - uses : actions/checkout@v2
17
- - name : Set up Python
18
- uses : actions/setup-python@v1
19
- with :
20
- python-version : ' 3.x'
21
- - name : Install dependencies
22
- run : |
23
- python -m pip install --upgrade pip
24
- pip install setuptools wheel twine
25
- - name : Build and publish
26
- env :
27
- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
28
- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
29
- run : |
30
- python setup.py sdist bdist_wheel
31
- twine upload dist/*
16
+ - uses : actions/checkout@v2
17
+ - name : Set up Python
18
+ uses : actions/setup-python@v1
19
+ with :
20
+ python-version : ' 3.x'
21
+ - name : Build
22
+ run : |
23
+ python -m pip install --upgrade pip
24
+ pip install setuptools wheel twine
25
+ python setup.py sdist bdist_wheel
26
+ - name : Publish
27
+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments