Release tagging test flow #46
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
name: Release tagging test flow | |
on: | |
workflow_dispatch: | |
inputs: | |
bump_each_commit: | |
description: "Bump each commit as a patch version" | |
default: false | |
type: boolean | |
release_candidate_suffix: | |
description: "Attach -rc# suffix to version number" | |
default: true | |
type: boolean | |
push: | |
branches: ["release"] | |
jobs: | |
get-test-version: | |
permissions: | |
contents: write | |
packages: write | |
uses: ./.github/workflows/release-verify-or-create-tag.yaml | |
with: | |
fetch_depth: 0 | |
bump_each_commit: ${{ inputs.bump_each_commit }} | |
release_candidate_suffix: ${{ inputs.release_candidate_suffix }} | |
output-version: | |
needs: get-test-version | |
runs-on: ubuntu-latest | |
steps: | |
- name: Output version from workflow call | |
run: echo ${{ needs.get-test-version.outputs.version }} | |