Skip to content

Commit

Permalink
Create publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ATRAN2 authored Oct 9, 2021
1 parent e9356fb commit 814564f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish on PyPI

on:
push:
tags:
- v*

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.7

- name: Install Python dependencies
run: pip install wheel

- name: Create a Wheel file and source distribution
run: python setup.py sdist bdist_wheel

- name: Publish distribution package to PyPI
uses: pypa/[email protected]
with:
password: ${{ secrets.pypi_password }}

0 comments on commit 814564f

Please sign in to comment.