-
-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (42 loc) · 1.31 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Release Workflow
on:
workflow_dispatch:
inputs:
version:
type: string
description: Version number
required: true
disable_checks:
type: boolean
description: Disable version consistency checks
default: false
jobs:
call-version-validation-workflow:
permissions:
contents: read
uses: crystal-nest/.github/.github/workflows/version_validation.yml@main
with:
version: ${{ github.event.inputs.version }}
disable_checks: ${{ github.event.inputs.disable_checks }}
secrets: inherit
call-analyze-workflow:
needs: call-version-validation-workflow
permissions:
contents: read
uses: crystal-nest/.github/.github/workflows/analyze.yml@main
secrets: inherit
call-version-update-workflow:
needs: [call-version-validation-workflow, 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-version-validation-workflow, call-analyze-workflow, call-version-update-workflow]
permissions:
contents: write
packages: write
uses: crystal-nest/.github/.github/workflows/release.yml@main
secrets: inherit