Skip to content

Commit fb6d2d2

Browse files
committed
improve spotless, release workflow
1 parent b653cd8 commit fb6d2d2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ on:
77
description: 'The type of version to release (alpha | beta | release)'
88
default: 'beta'
99
required: true
10-
type: string
10+
type: choice
11+
options:
12+
- "alpha"
13+
- "beta"
14+
- "release"
1115

1216
permissions:
1317
contents: write

gradle/scripts/spotless.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spotless {
88
target '.gitignore'
99

1010
trimTrailingWhitespace()
11-
indentWithSpaces(4)
11+
leadingTabsToSpaces(4)
1212
endWithNewline()
1313
}
1414
java {

0 commit comments

Comments
 (0)