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