Skip to content

[RELEASE] V2.3.5 #2

[RELEASE] V2.3.5

[RELEASE] V2.3.5 #2

Workflow file for this run

name: Release to PyPI
on:
pull_request:
types: [closed]
branches:
- main
jobs:
release:
if: startsWith(github.event.pull_request.title, '[RELEASE]') && github.event.pull_request.merged
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Publish to PyPI
env:
PYPI_TOKEN: ${{ secrets.GRAPHQLER_PYPI_REPO_SECRET }}
run: |
poetry config pypi-token.pypi $PYPI_TOKEN
poetry build
poetry publish