Push additional files

Update Workflow

Update Workflow

Update Workflow

Update Workflow

Update Workflow
This commit is contained in:
2020-01-25 01:21:57 -05:00
parent 8f2ba12f80
commit 130ae3f76e
6 changed files with 197 additions and 0 deletions

34
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Build & Publish
on:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Update Version
run: |
pip install bumpversion
export regex="([0-9]+.[0-9]+.[0-9]+)"
echo ${{ github.ref }} > tag.txt
VERSION=`grep -Po "${regex}" tag.txt`
bumpversion minor --no-tag --new-version ${VERSION}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: build
run: |
python setup.py sdist bdist_wheel
- name: PyPi Publish
uses: pypa/gh-action-pypi-publish@v1.0.0a0
with:
user: josephbmanley
password: ${{ secrets.PYPI_PASSWORD }}