diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..f49fd47 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,28 @@ +name: Release Workflow + +on: + workflow_dispatch: + inputs: + version: + type: string + description: Version number + required: true + +jobs: + call-analyze-workflow: + uses: crystal-nest/.github/.github/workflows/analyze.yml@main + secrets: inherit + call-version-update-workflow: + needs: call-analyze-workflow + permissions: + contents: write + uses: crystal-nest/.github/.github/workflows/version_update.yml@main + with: + version: ${{ github.event.inputs.version }} + secrets: inherit + call-release-workflow: + needs: [call-analyze-workflow, call-version-update-workflow] + permissions: + contents: write + uses: crystal-nest/.github/.github/workflows/release.yml@main + secrets: inherit