File tree Expand file tree Collapse file tree 4 files changed +226
-1
lines changed Expand file tree Collapse file tree 4 files changed +226
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ release_package :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@v2
14+
15+ - name : Set up Python
16+ uses : actions/setup-python@v4
17+ with :
18+ python-version : 3.x
19+
20+ - name : Install Poetry
21+ run : |
22+ pip install poetry
23+ poetry config virtualenvs.create false
24+
25+ - name : Install project dependencies
26+ run : poetry install
27+
28+ - name : Build package
29+ run : poetry build
30+
31+ - name : Release package
32+ run : poetry publish --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}
33+
34+ - name : Upload package
35+ run : |
36+ echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
37+ gh release upload ${{ github.event.release.tag_name }} dist/*.tar.gz dist/*.whl --clobber
38+ if : ( github.event_name == 'release' && github.event.action == 'published' )
Original file line number Diff line number Diff line change 11# write-githubstat
22write-githubstat makes it easy to collect, filter and save github statistics to csv files.
33
4- [ ![ PyPI version] ( https://badge.fury.io/py/write-condastat .svg )] ( https://badge.fury.io/py/write-githubstat )
4+ [ ![ PyPI version] ( https://badge.fury.io/py/write-githubstat .svg )] ( https://badge.fury.io/py/write-githubstat )
55
66
77# About The Project
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" poetry-core>=1.0.0" ]
3+ build-backend = " poetry.core.masonry.api"
4+
5+ [tool .poetry ]
6+ name = " write-githubstat"
7+ packages = [
8+ {include = " src/writegithubstat" }
9+ ]
10+ version = " 0.1.0"
11+ description = " write-githubstat makes it easy to collect, filter and save github statistics to csv files."
12+ license = " Apache 2.0"
13+ authors = [" David Vegh <david.andras.vegh+github@gmail.com>" ]
14+
15+ [tool .poetry .dependencies ]
16+ python = " >=3.8"
17+ pandas = " ^1.5.0"
18+
19+ [tool .poetry .urls ]
20+ homepage = " https://github.com/veghdev/write-githubstat"
21+ documentation = " https://github.com/veghdev/write-githubstat"
22+ repository = " https://github.com/veghdev/write-githubstat"
You can’t perform that action at this time.
0 commit comments