Skip to content

big-change update 2 #37

big-change update 2

big-change update 2 #37

Workflow file for this run

name: Push to PyPI
on:
release:
types: [released, prereleased]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.0.0
- name: Set up Python
uses: actions/setup-python@v4.7.0
with:
python-version: 3.8
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
- name: Install poetry
uses: Gr1N/setup-poetry@v8
- name: Build
run: |
poetry version ${{ steps.get_version.outputs.VERSION }}
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.17
with:
pypi_token: ${{ secrets.pypi_password_sx_did_lib }}