From f45335ee2c7333c52c9a9d3590276f728778901a Mon Sep 17 00:00:00 2001 From: Logiar Date: Mon, 2 Dec 2024 14:06:27 +0100 Subject: [PATCH] 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. --- .github/workflows/solve.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/solve.yaml b/.github/workflows/solve.yaml index 4e89550..9981151 100644 --- a/.github/workflows/solve.yaml +++ b/.github/workflows/solve.yaml @@ -17,7 +17,8 @@ jobs: - uses: https://github.com/fwilhe2/setup-kotlin@main - name: Solutions run: | - for script in $(ls *.kts | sort); do + set -e + for script in $(ls *.kts | sort -r); do echo "Running $script" kotlin $script done \ No newline at end of file