Skip to content

Commit

Permalink
Add pypi action (#11)
Browse files Browse the repository at this point in the history
* remove scaffolding

* add pypi sync

* remove travis

Authored-by: Joran Angevaare <[email protected]>
  • Loading branch information
JoranAngevaare authored Aug 19, 2022
1 parent 6448cfd commit 14a83f4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 15 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pypi_install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Mostly based on https://github.com/marketplace/actions/pypi-publish
name: Pipy
on:
workflow_dispatch:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Checkout repo
uses: actions/checkout@v3
- name: Install dependencies
run: pip install wheel
- name: Build package
run: python setup.py sdist bdist_wheel
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}

15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

0 comments on commit 14a83f4

Please sign in to comment.