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

38 lines
835 B
YAML
Raw Normal View History

2021-01-01 14:53:19 -07:00
name: Release to PyPI
on:
release:
types: [published]
2021-01-01 14:53:19 -07:00
jobs:
2021-01-03 10:31:52 -07:00
release:
name: Release to PyPI
2021-01-01 14:53:19 -07:00
strategy:
fail-fast: false
matrix:
python-version: [3.6]
2021-01-02 13:33:45 -07:00
poetry-version: [1.1.4]
2021-01-03 10:31:52 -07:00
os: [ubuntu-latest]
runs-on: ubuntu-latest
2021-01-01 14:53:19 -07:00
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 }}
2021-01-02 16:52:06 -07:00
poetry build
2021-01-01 14:53:19 -07:00
- name: Publish hyperglass release
run: poetry publish