File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change 77 push :
88 branches :
99 - main
10- tags :
11- - " v*" # Push events to matching v*, i.e. v1.0, v20.15.10
1210 pull_request :
1311 branches :
1412 - main
6159
6260 - name : Coverage
6361 uses : codecov/codecov-action@v3
64-
65- deploy :
66- # this will run when you have tagged a commit, starting with "v*"
67- # and requires that you have put your twine API key in your
68- # github secrets (see readme for details)
69- needs : [test]
70- runs-on : ubuntu-latest
71- if : contains(github.ref, 'tags')
72- steps :
73- - uses : actions/checkout@v4
74- - name : Set up Python
75- uses : actions/setup-python@v5
76- with :
77- python-version : " 3.x"
78- - name : Install dependencies
79- run : |
80- python -m pip install --upgrade pip
81- pip install -U setuptools setuptools_scm wheel twine build
82- - name : Build and publish
83- env :
84- TWINE_USERNAME : __token__
85- TWINE_PASSWORD : ${{ secrets.TWINE_API_KEY }}
86- run : |
87- git tag
88- python -m build .
89- twine upload dist/*
You can’t perform that action at this time.
0 commit comments