From 685034bec099c0867a8b5bedd43784bfc10e9f55 Mon Sep 17 00:00:00 2001 From: Logiar Date: Mon, 2 Dec 2024 14:06:26 +0100 Subject: [PATCH] Second attempt. --- .github/workflows/solve.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/solve.yaml b/.github/workflows/solve.yaml index c517eb4..8960205 100644 --- a/.github/workflows/solve.yaml +++ b/.github/workflows/solve.yaml @@ -9,7 +9,18 @@ jobs: example-action: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'corretto' # See 'Supported distributions' for available options + java-version: '21' + - name: Install Kotlin Compiler + run: | + sudo apt-get install -y curl + curl -s https://get.sdkman.io | bash + source "$HOME/.sdkman/bin/sdkman-init.sh" + sdk install kotlin + kotlin -version - name: Day 1 run: kotlin puzzle1.kts - name: Day 2