From 82de655a498e28f08ccd11d8c60b54b9b11592ad Mon Sep 17 00:00:00 2001 From: Lars Mikal Rogne Date: Mon, 2 Dec 2024 11:03:20 +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