Skip to content

Commit 9b6a17d

Browse files
committed
adjust workflow
1 parent 9460b01 commit 9b6a17d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
- name: Checkout latest code
1313
uses: actions/checkout@v2
1414

15-
- name: Set up JDK 11
15+
- name: Set up JDK 19
1616
uses: actions/setup-java@v2
1717
with:
1818
distribution: 'adopt'
19-
java-version: 11
19+
java-version: 19
2020

2121
- name: Setup build cache
2222
uses: actions/[email protected]

src/main/kotlin/tr/emreone/kotlin_utils/automation/AdventOfCode.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fun getAllDayClasses(): Collection<Class<out Day>> =
4848
fun dayNumber(day: Class<out Day>) = day.simpleName.replace("Day", "").toInt()
4949

5050
@ExperimentalTime
51-
private fun Class<out Day>.execute(): Duration {
51+
fun Class<out Day>.execute(): Duration {
5252
fun TimedValue<Any?>.show(n: Int, padded: Int) {
5353
val x = " ".repeat(padded) + "Part $n [$duration]: "
5454
println(

0 commit comments

Comments
 (0)