wip: added dynamic input
Some checks failed
Build and run challenges / Challenge for day (1) (push) Failing after 3s
Build and run challenges / Challenge for day (2) (push) Failing after 3s
Build and run challenges / Challenge for day (3) (push) Failing after 9s

Signed-off-by: Louis Vallat <contact@louis-vallat.fr>
This commit is contained in:
Louis Vallat 2024-12-04 00:10:27 +01:00
parent f434e47c70
commit 3d4574a541
Signed by: louis
SSH Key Fingerprint: SHA256:0iPwDU/PZtEy/K13Oar4TzmcunmI9H5U9IsOR3jyT/Q

View File

@ -17,6 +17,10 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run challenge
env:
DAY_FOLDER: day${{ matrix.day_number }}
INPUT_BASE64: ${{ vars[format('INPUT_DAY{0}', matrix.day_number) }}
run: |
cd day${{ matrix.day_number }}
cargo run --release ./input
echo $INPUT_BASE64
cd $DAY_FOLDER
cargo run --release /tmp/input