Skip to content

Commit

Permalink
ci(release): make pypi publishing optional
Browse files Browse the repository at this point in the history
  • Loading branch information
loqusion committed Oct 14, 2023
1 parent aafada7 commit 46ca0a9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,21 @@ name: Release
on:
release:
types: [published]
workflow_dispatch:
inputs:
pypi:
description: Publish to PyPI
default: true
type: boolean
required: false

permissions:
contents: read

jobs:
release-pypi:
name: upload release to PyPI
if: ${{ inputs.pypi }}
runs-on: ubuntu-latest
environment: PyPI
steps:
Expand Down

0 comments on commit 46ca0a9

Please sign in to comment.