aoc_2024/.github/workflows/solve.yaml
Lars Mikal Rogne 9668926992
All checks were successful
Solve / example-action (push) Successful in 16s
Reverse the order and abort on error so I don't have to wait for a long run if the latest solution has an error.
2024-12-02 11:41:42 +01:00

24 lines
558 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'
- uses: https://github.com/fwilhe2/setup-kotlin@main
- name: Solutions
run: |
set -e
for script in $(ls *.kts | sort -r); do
echo "Running $script"
kotlin $script
done