wip: added dynamic input
All checks were successful
Build and run challenges / Challenge for day (1) (push) Successful in 3s
Build and run challenges / Challenge for day (2) (push) Successful in 3s
Build and run challenges / Challenge for day (3) (push) Successful in 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 3e9e25b928
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: ${{ secrets[format('INPUT_DAY{0}', matrix.day_number)] }}
run: |
cd day${{ matrix.day_number }}
cargo run --release ./input
echo $INPUT_BASE64 | base64 --decode > /tmp/input
cd $DAY_FOLDER
cargo run --release /tmp/input