We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3be1c99 commit 32ba009Copy full SHA for 32ba009
1 file changed
.github/workflows/cd.yaml
@@ -3,6 +3,12 @@ on:
3
push:
4
branches:
5
- master
6
+ workflow_call:
7
+ inputs:
8
+ skip_github_release:
9
+ description: 'Skip creating a GitHub release'
10
+ type: boolean
11
+ default: false
12
jobs:
13
extract_version:
14
runs-on: ubuntu-latest
@@ -24,6 +30,7 @@ jobs:
24
30
25
31
needs: extract_version
26
32
name: Create release on GitHub
33
+ if: ${{ github.event_name == 'push' || inputs.skip_github_release == false }}
27
34
permissions:
28
35
contents: write
29
36
steps:
@@ -38,7 +45,7 @@ jobs:
38
45
publish:
39
46
name: Deploy to maven
40
47
needs:
41
- - create_release
48
+ - extract_version
42
49
43
50
44
51
- name: Checkout code
0 commit comments