File tree Expand file tree Collapse file tree 2 files changed +38
-1
lines changed
Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Upload Python Package
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ permissions :
8+ contents : read
9+
10+ jobs :
11+ release-build :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - uses : actions/setup-python@v5
18+ with :
19+ python-version : " 3.8"
20+
21+ - name : Install dependencies
22+ run : |
23+ pip3 install -r requirements.txt
24+ pip3 install pytest
25+ pip3 install twine
26+
27+ - name : Build and Test
28+ run : |
29+ python3 setup.py build
30+ pytest
31+
32+ - name : Publish to PyPI
33+ run : |
34+ python3 setup.py sdist bdist_wheel &> package_setup.log
35+ curl --connect-timeout 10 -kI https://test.pypi.org
36+ twine upload -u ${{ secrets.USER }} -p ${{ secrets.PASS }} 'dist/*'
37+
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22# -*- coding: utf-8 -*-
3- __version__ = "1.23.2 "
3+ __version__ = "1.23.3 "
You can’t perform that action at this time.
0 commit comments