Skip to content

Build and Upload Release #3

Build and Upload Release

Build and Upload Release #3

Workflow file for this run

name: Build and Upload Release
on:
release:
types:
- created
jobs:
build:
name: Build and Upload
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install -r requirements.txt
- name: Build Package
run: |
python setup.py sdist bdist_wheel
- name: Upload to Release
uses: softprops/action-gh-release@v1
with:
files: dist/*
token: ${{ secrets.GITHUB_TOKEN }}