Skip to content

Merge pull request #258 from trek10inc/release/4.5.5 #31

Merge pull request #258 from trek10inc/release/4.5.5

Merge pull request #258 from trek10inc/release/4.5.5 #31

Workflow file for this run

name: Upload Python Package
on:
push:
tags:
- '*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install pipenv==2018.11.26
- name: Test
run: |
echo "Installing pipenv dependencies"
PIPENV_NOSPIN=true pipenv install --dev
pipenv run test
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
echo "Deploying awsume"
python setup.py sdist bdist_wheel
twine upload dist/*