aoc_2024/.github/workflows/solve.yaml
2024-12-02 14:06:26 +01:00

28 lines
667 B
YAML

name: Solve
on:
push:
branches:
- main
jobs:
example-action:
runs-on: ubuntu-latest
steps:
- 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
run: kotlin puzzle2.kts