0.0.2: main@ff9abf8050de577bc228d4a87ff6e863a1150ad5 #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Set version, tag & publish | |
# | |
name: Publish | |
run-name: "${{ inputs.version }}: ${{ github.ref_name }}@${{ github.sha }}" | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: novel library version and repository tag to apply (e.g. 1.0.2-post5) | |
required: true | |
force-version: | |
description: omit check for semantic versioning | |
type: boolean | |
required: false | |
draft: | |
description: draft but do not publish release | |
type: boolean | |
required: false | |
prerelease: | |
description: mark as a prerelease | |
type: boolean | |
required: false | |
pypi-test: | |
description: publish to test.pypi.org | |
type: boolean | |
required: false | |
jobs: | |
delegate: | |
uses: internet-equity/fate/.github/workflows/publish.yml@1fa15f362fb18fe4636d57788755a60f6713aa61 | |
permissions: | |
contents: write | |
secrets: | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
TEST_PYPI_TOKEN: ${{ secrets.TEST_PYPI_TOKEN }} | |
with: | |
version: ${{ inputs.version }} | |
force-version: ${{ inputs.force-version }} | |
force-pass: true | |
draft: ${{ inputs.draft }} | |
prerelease: ${{ inputs.prerelease }} | |
pypi-test: ${{ inputs.pypi-test }} |