File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1+ name : publish
2+ run-name : Publish to PyPi
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build-and-publish :
9+ name : Build and publish to PyPi
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v3
15+ - name : Set up Python
16+ uses : actions/setup-python@v4
17+ with :
18+ python-version : 3.8
19+ - name : Install build
20+ run : |
21+ python3 -m pip install build
22+ python3 -m pip install setuptools --upgrade
23+ - name : Build
24+ run : |
25+ python3 -m build --sdist --wheel --outdir dist/ .
26+ - name : Publish
27+ if : startsWith(github.ref, 'refs/tags')
28+ uses : pypa/gh-action-pypi-publish@release/v1
29+ with :
30+ password : ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ dependencies = [
2929 " requests" ,
3030 " six" ,
3131]
32- version = " 2.1.5 "
32+ version = " 2.2.0 "
3333
3434[project .urls ]
3535"homepage" = " https://github.com/sio2project/filetracker"
You can’t perform that action at this time.
0 commit comments