File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ tags : [ "*" ]
7+ pull_request :
8+ branches : [ "main" ]
9+
10+ jobs :
11+ deploy-pypi :
12+
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v3
17+
18+ - name : Set up Python
19+ uses : actions/setup-python@v3
20+ with :
21+ python-version : ' 3.11'
22+
23+ - name : Install dependencies
24+ run : |
25+ python -m pip install --upgrade pip
26+ pip install build
27+ pip install -r requirements.txt
28+
29+ - name : Build package
30+ run : python -m build
31+
32+ - name : Publish package
33+ if : github.ref_type == 'tag'
34+ uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
35+ with :
36+ user : __token__
37+ password : ${{ secrets.TEST_PYPI_API_TOKEN }}
38+ repository_url : https://test.pypi.org/legacy/
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " repo_reader_sancherepan"
7- version = " 0.2.0 "
7+ version = " 0.2.1 "
88authors = [
99 { name =" SAnCherepan" , email =" sivkinpunk@gmail.com" },
1010]
You can’t perform that action at this time.
0 commit comments