Skip to content

4.0

4.0 #22

Workflow file for this run

name: PyPy Release
on:
release:
types: [published, edited]
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: tag name
run: echo $GITHUB_REF_NAME
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Config Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
python -m pip install --upgrade pip
poetry install
- name: Build
run: |
poetry build
- name: publish
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
poetry publish