Skip to content

Commit 865021d

Browse files
authored
1. Update the release workflows file (#122)
2. Update checkstyle to prohibit multiple consecutive blank lines
1 parent acb0004 commit 865021d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release assets
22
permissions: write-all
33
on:
44
release:
5-
types: [ prereleased, published ]
5+
types: [ published ]
66

77
jobs:
88
prepare:

checkstyle.xml

+2
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@
144144
STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF, RECORD_DEF,
145145
COMPACT_CTOR_DEF"/>
146146
<property name="allowNoEmptyLineBetweenFields" value="true"/>
147+
<property name="allowMultipleEmptyLines" value="false"/>
148+
<property name="allowMultipleEmptyLinesInsideClassMembers" value="false"/>
147149
</module>
148150
<module name="SeparatorWrap">
149151
<property name="id" value="SeparatorWrapDot"/>

0 commit comments

Comments
 (0)