Skip to content

Commit

Permalink
Merge pull request #114 from AVEgame/pypi
Browse files Browse the repository at this point in the history
Pypi
  • Loading branch information
mscroggs authored Jul 5, 2020
2 parents 893e25a + c82ff95 commit fd0b983
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish 🐍 📦 to PyPI and TestPyPI

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*'

jobs:
build-n-publish:
name: Build and publish 🐍 📦 to PyPI and TestPyPI
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@master
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Build a binary wheel and a source tarball
run: |
pip install wheel
python setup.py bdist_wheel
python setup.py sdist --formats=gztar
- name: Publish 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9
1.9.1

0 comments on commit fd0b983

Please sign in to comment.