File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v3
16+ - name : Build package
17+ run : |
18+ pip install build
19+ python -m build --wheel
20+ - name : Upload to GitHub Releases
21+ uses : softprops/action-gh-release@v1
22+ with :
23+ files : dist/*.whl
Original file line number Diff line number Diff line change 1+ from setuptools import setup , find_packages
2+
3+ setup (
4+ name = "date_hour" ,
5+ version = "1.0.0" ,
6+ url = "https://github.com/Sam-Strand/date_hour" ,
7+ author = "Садовский М.К." ,
8+ 9+ packages = find_packages (),
10+ install_requires = [
11+ "pydantic>=2.5.0" ,
12+ ],
13+ classifiers = [
14+ "License :: OSI Approved :: Apache Software License" ,
15+ ],
16+ )
You can’t perform that action at this time.
0 commit comments