File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 9
9
version-bump :
10
10
type : string
11
11
required : true
12
- default : ' minor'
12
+ default : ' patch'
13
+ pages-only :
14
+ type : boolean
15
+ required : true
16
+ default : false
13
17
secrets :
14
18
SONATYPE_TOKEN :
15
19
required : true
56
60
- name : Create release bundle
57
61
run : ' ./scripts/createReleaseBundle.sc --version=${{ steps.version.outputs.new_version }} --gpg-key=${{ secrets.GPG_SECRET_KEY_ID }}'
58
62
- name : Upload bundle to Sonatype
63
+ if : ${{ !inputs.pages-only }}
59
64
run : |
60
65
curl --request POST \
61
66
--verbose \
Original file line number Diff line number Diff line change 13
13
- minor
14
14
- patch
15
15
- keep
16
+ pages-only :
17
+ type : boolean
18
+ description : ' Skip release, generate only Github Pages'
19
+ required : true
20
+ default : false
21
+
16
22
# push:
17
23
# branches: [main]
18
24
# paths:
24
30
secrets : inherit
25
31
with :
26
32
tag-prefix : ' lambda-utils'
27
- version-bump : ${{ inputs.version-bump || 'patch' }}
33
+ version-bump : ${{ inputs.version-bump || 'patch' }}
34
+ pages-only : ${{ inputs.pages-only }}
You can’t perform that action at this time.
0 commit comments