Skip to content

Release 7.2.1

Release 7.2.1 #42

Workflow file for this run

name: Deploy
run-name: Release ${{ github.ref_name }}
on:
release:
types: [ created ]
jobs:
build:
name: Build
uses: alexdlaird/pyngrok/.github/workflows/build.yml@main
secrets: inherit
deploy:
name: Deploy
needs: build
env:
FORCE_COLOR: 1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
- name: Validate version
run: make validate-release VERSION=${{ steps.get_version.outputs.VERSION }}
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: make upload