Skip to content

Commit

Permalink
Merge pull request #44 from kingosticks/release-workflow
Browse files Browse the repository at this point in the history
Setup new release workflow
  • Loading branch information
kingosticks authored Dec 6, 2020
2 parents d18eaff + fa5a8e4 commit 6d99caa
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release

on:
release:
types: [published]

jobs:
release:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: "Install dependencies"
run: python3 -m pip install build
- name: "Build package"
run: python3 -m build
- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 6d99caa

Please sign in to comment.