Skip to content

v0.3.3

v0.3.3 #20

Workflow file for this run

name: Publish Offchain
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-20.04
steps:
- name: Extract release branch
id: extract_branch
env:
REF: ${{ github.ref }}
run: echo ::set-output name=branch::release/${REF:10}
- uses: actions/checkout@v2
with:
ref: ${{ steps.extract_branch.outputs.branch }}
- uses: actions/setup-python@v2
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Configure Poetry token
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_KEY }}
- name: Publish package
run: poetry publish --build