Version 0.10.12 #46
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: Release Application | |
on: | |
release: | |
types: [published] | |
jobs: | |
pipy: | |
name: Build and Release to PyPI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Prepare environment | |
run: | | |
python -m pip install --upgrade pip poetry | |
- name: Build package | |
run: | | |
poetry install | |
make i18n build | |
- name: Publish to PyPI | |
env: | |
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_PASSWORD }} | |
run: | | |
poetry publish |