You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- name: Release Application
-
- on:
- release:
- types: [published]
-
- jobs:
- pipy:
- name: Build and Release to PyPI
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
-
- - name: Set up Python
- uses: actions/setup-python@v5
- 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
|