Merge pull request #23 from Mparker25/loosen-psycopg3-pin #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v1.5.1 | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPI_TOKEN }} | |
skip_existing: true |