Skip to content

Commit

Permalink
Merge pull request #20 from dave-shawley/use-github-ci
Browse files Browse the repository at this point in the history
Switch from Travis CI to GitHub Actions
  • Loading branch information
dave-shawley committed Aug 23, 2022
2 parents c56a281 + 1deddad commit e4a7899
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 19 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Distribution
on:
push:
branches-ignore: ["*"]
tags: ["*"]
jobs:
upload-package:
name: "Build & upload package"
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && github.repository == 'aweber/bandoleers'
steps:
- uses: actions/checkout@v2
- name: Install python
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install builder
run: |
python -m pip install --upgrade build pip setuptools twine
- name: Build distributions
run: |
python -m build --sdist --wheel --outdir dist/ .
- name: Upload packages
uses: pypa/gh-action-pypi-publish@1.4.2
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
skip_existing: true
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

3 changes: 2 additions & 1 deletion docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ Release History
`Next Release`_
---------------

`3.3.1`_ (2022-08-22)
`3.3.1`_ (2022-08-23)
---------------------
- Loosen redis pin to allow redis 4
- Switch to GitHub Actions for CI

`3.3.0`_ (2021-09-02)
---------------------
Expand Down

0 comments on commit e4a7899

Please sign in to comment.