Skip to content

v3.1.0: Add default relation to assign/remove methods (#20) #6

v3.1.0: Add default relation to assign/remove methods (#20)

v3.1.0: Add default relation to assign/remove methods (#20) #6

Workflow file for this run

name: Warrant Python
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build distributions
run: |
python -m pip install build
python -m build --sdist --wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}