Merge pull request #5 from mxab/snyk-fix-0308280073c0ca42810b53524fb7… #8
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 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.10.12 | |
- name: Run image | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: 1.5.1 | |
- name: View poetry --help | |
run: poetry --version | |
- name: "Add dynamic versioning plugin" | |
run: poetry self add "poetry-dynamic-versioning[plugin]" | |
- name: Publish | |
run: poetry publish --build --password=${{ secrets.PYPI_TOKEN }} --username=__token__ |