1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

35 lines
791 B
YAML
Raw Normal View History

2021-01-01 14:53:19 -07:00
name: Release to PyPI
on: [release]
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: [3.6]
os: [ubuntu-20.04]
2021-01-02 13:33:45 -07:00
poetry-version: [1.1.4]
2021-01-01 14:53:19 -07:00
runs-on: ${{ matrix.os }}
steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Build hyperglass
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
poetry build -f sdist
- name: Publish hyperglass release
run: poetry publish