Skip to content

Merge remote-tracking branch 'origin/main' #183

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #183

# .github/workflows/test-pypi.yml
name: PYPi
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test_pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.9'
architecture: x64
- run: pip install poetry==1.3.1
- run: >-
poetry version patch &&
version=$(poetry version | awk '{print $2}') &&
poetry version $version.dev.$(date +%s)
- run: poetry build
- run: poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}