ref_name:release-0.9 release_version:v0.9.2-beta.3 #165
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 Version | |
on: | |
workflow_dispatch: | |
inputs: | |
release_version: | |
description: 'The version of release' | |
required: false | |
default: '' | |
content: | |
description: 'The request content' | |
required: false | |
default: '' | |
run-name: ref_name:${{ github.ref_name }} release_version:${{ inputs.release_version }} ${{ inputs.content }} | |
jobs: | |
get-version: | |
uses: apecloud/apecloud-cd/.github/workflows/[email protected] | |
with: | |
RELEASE_VERSION: "${{ inputs.release_version }}" | |
CONTENT: "${{ inputs.content }}" | |
APECD_REF: "v0.1.50" | |
secrets: inherit | |
release-message: | |
if: ${{ needs.get-version.result == 'success' }} | |
needs: [ get-version ] | |
uses: apecloud/apecloud-cd/.github/workflows/[email protected] | |
with: | |
TYPE: "1" | |
VERSION: "${{ needs.get-version.outputs.release-version }}" | |
APECD_REF: "v0.1.50" | |
secrets: inherit | |
release-tag: | |
if: ${{ needs.get-version.result == 'success' }} | |
needs: [ get-version ] | |
uses: ./.github/workflows/release-tag.yaml | |
with: | |
VERSION: "${{ needs.get-version.outputs.release-version }}" | |
RELEASE_VERSION: "${{ inputs.release_version }}" | |
secrets: inherit |