-
Notifications
You must be signed in to change notification settings - Fork 68
42 lines (40 loc) · 1.44 KB
/
publish_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
name: Publish Release
# Every time a push happens to the release/** branch. We use this trigger since create event does not support filtering
on:
push:
branches:
- 'release/**'
jobs:
check:
name: Check
uses: ./.github/workflows/check.yml
generate_version_name:
name: Generate version name
uses: ./.github/workflows/generate_version_name.yml
publish_to_maven_central:
name: Publish to Maven Central
uses: ./.github/workflows/publish_to_maven_central.yml
secrets: inherit
needs: [generate_version_name, check]
with:
version-name: ${{ needs.generate_version_name.outputs.version-name }}
create_github_release:
name: Create GitHub release
uses: ./.github/workflows/create_github_release.yml
secrets: inherit
needs: [generate_version_name, publish_to_maven_central]
with:
version-name: ${{ needs.generate_version_name.outputs.version-name }}
generate_release_notes:
name: Generate release notes
uses: ./.github/workflows/generate_release_notes.yml
secrets: inherit
needs: [generate_version_name, create_github_release]
with:
version-name: ${{ needs.generate_version_name.outputs.version-name }}
create_release_notes_pr:
name: Create release notes pr
uses: ./.github/workflows/create_release_notes_pr.yml
needs: [generate_version_name, generate_release_notes]
with:
version-name: ${{ needs.generate_version_name.outputs.version-name }}