actions: Fix actions
This commit is contained in:
4
.github/workflows/gradle.yml
vendored
4
.github/workflows/gradle.yml
vendored
@@ -12,6 +12,10 @@ jobs:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Make gradlew executable
|
||||
run: chmod +x ./gradlew
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 11
|
||||
- name: Update Gradle Wrapper
|
||||
run: ./gradlew wrapper --gradle-version $(curl -s https://api.github.com/repos/gradle/gradle/releases/latest | grep -Po '"name":.*?[^\\]",' | sed -r 's/[\"name:, ]+//g') --distribution-type all --console=plain
|
||||
- name: Create Gradle wrapper update Pull Request
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -218,7 +218,7 @@ public class NpcStatsDumper
|
||||
}
|
||||
|
||||
final Set<Integer> ids = Arrays.stream(wikiIdString.split(","))
|
||||
.map(s -> Integer.parseInt(s.trim()))
|
||||
.map(s -> Integer.parseInt(s.replaceAll("[^0-9]", "").trim()))
|
||||
.collect(Collectors.toSet());
|
||||
|
||||
final NpcStats stats = buildNpcStats(base, variantKey);
|
||||
|
||||
Reference in New Issue
Block a user