Skip to content

Commit

Permalink
Merge pull request #33 from Yelp/shawn-move-to-gh-actions
Browse files Browse the repository at this point in the history
move repo to github actions from travis ci
  • Loading branch information
karmeleon authored Mar 29, 2022
2 parents d4cba4a + 1778d0c commit 1f8669b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 37 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/gh-action-pypi-publish@v1.2.2
with:
password: ${{ secrets.pypi_password }}
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

0 comments on commit 1f8669b

Please sign in to comment.