From a9662df3a5b64044981d2d266105f6e19f4da655 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Wed, 4 Dec 2024 00:10:27 +0100 Subject: [PATCH] wip: added dynamic input Signed-off-by: Louis Vallat --- .gitea/workflows/build_and_run.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build_and_run.yml b/.gitea/workflows/build_and_run.yml index 8843dc1..4af3e9a 100644 --- a/.gitea/workflows/build_and_run.yml +++ b/.gitea/workflows/build_and_run.yml @@ -18,5 +18,7 @@ jobs: uses: actions/checkout@v4 - name: Run challenge run: | + echo '${{ vars[format('INPUT_DAY{0}', matrix.day_number) }}' + echo '${{ vars[format('INPUT_DAY{0}', matrix.day_number) }}' > "$GITHUB_LOGS" cd day${{ matrix.day_number }} - cargo run --release ./input + cargo run --release input