Skip to content

Commit

Permalink
GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelhwilliams committed Oct 3, 2019
1 parent 4d2a63b commit 7deccfd
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish

on:
release:
types: [published]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.x
architecture: x64
- name: Build a source distribution
run: python setup.py sdist
- name: Publish to prod PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_token }}

0 comments on commit 7deccfd

Please sign in to comment.