From 02df1d4544a03c5d018ecc6bda284ae3ba41fbd6 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build_and_run.yml b/.gitea/workflows/build_and_run.yml index 8843dc1..db9bea5 100644 --- a/.gitea/workflows/build_and_run.yml +++ b/.gitea/workflows/build_and_run.yml @@ -19,4 +19,5 @@ jobs: - name: Run challenge run: | cd day${{ matrix.day_number }} - cargo run --release ./input + echo ${{ secrets[format('INPUT_DAY{0}', matrix.day_number) }} | base64 --decode > /tmp/input + cargo run --release /tmp/input