File tree 1 file changed +16
-22
lines changed
1 file changed +16
-22
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
deploy :
9
9
runs-on : windows-latest
10
-
11
10
steps :
12
- - name : Checkout code
13
- uses : actions/checkout@v3
14
-
15
- - name : Set up Python
16
- uses : actions/setup-python@v3
17
- with :
18
- python-version : ' 3.11'
19
-
20
- - name : Install dependencies
21
- run : |
22
- python -m pip install --upgrade pip
23
- pip install build
24
-
25
- - name : Build package
26
- run : python -m build
27
-
28
- - name : Publish package to PyPI
29
- uses : pypa/gh-action-pypi-publish@v1
30
- with :
31
- user : __token__
32
- password : ${{ secrets.PYPI_API_TOKEN }}
11
+ - uses : actions/checkout@v3
12
+ - name : Set up Python
13
+ uses : actions/setup-python@v4
14
+ with :
15
+ python-version : ' 3.11'
16
+ - name : Install dependencies
17
+ run : |
18
+ python -m pip install --upgrade pip
19
+ pip install build twine
20
+ - name : Build package
21
+ run : python -m build
22
+ - name : Publish package
23
+ env :
24
+ TWINE_USERNAME : __token__
25
+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
26
+ run : twine upload dist/*
You can’t perform that action at this time.
0 commit comments