aoc_2024/.github/workflows/solve.yaml

28 lines
667 B
YAML
Raw Normal View History

2024-12-02 09:55:04 +00:00
name: Solve
on:
push:
branches:
- main
jobs:
example-action:
runs-on: ubuntu-latest
steps:
2024-12-02 10:03:20 +00:00
- 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
2024-12-02 09:55:04 +00:00
- name: Day 1
run: kotlin puzzle1.kts
- name: Day 2
run: kotlin puzzle2.kts