Skip to content

joseki version 2.4.0 #167

joseki version 2.4.0

joseki version 2.4.0 #167

Workflow file for this run

name: Release
on:
push:
tags:
- "*"
jobs:
release-pypi:
name: Release to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pdm-project/setup-pdm@main
name: Setup PDM
with:
python-version: "3.10"
architecture: x64
prerelease: true
enable-pep582: false
- name: Build wheels
run: |
pdm build
- name: Test build
run: |
python3 -m venv fresh_env
. fresh_env/bin/activate
pip install dist/*.whl
fresh_env/bin/python -c "import joseki; print(joseki.__version__)"
- name: Upload to PyPI
run: |
pdm publish --no-build -r pypi --username __token__ --password ${{ secrets.PYPI_TOKEN }}