Update README.md #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python package | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
# This is used to complete the identity challenge | |
# with sigstore/fulcio when running outside of PRs. | |
id-token: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pip install poetry | |
- name: Set PyPI token | |
run: poetry config pypi-token.pypi ${{secrets.PYPI_TOKEN}} | |
- name: Publish cabs | |
run: cd suricat-beams && poetry publish --build | |
- name: Publish main package | |
run: poetry publish --build |