wip: added dynamic input
Signed-off-by: Louis Vallat <contact@louis-vallat.fr>
This commit is contained in:
parent
f434e47c70
commit
3e9e25b928
@ -17,6 +17,10 @@ jobs:
|
|||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Run challenge
|
- name: Run challenge
|
||||||
|
env:
|
||||||
|
DAY_FOLDER: day${{ matrix.day_number }}
|
||||||
|
INPUT_BASE64: ${{ secrets[format('INPUT_DAY{0}', matrix.day_number)] }}
|
||||||
run: |
|
run: |
|
||||||
cd day${{ matrix.day_number }}
|
echo $INPUT_BASE64 | base64 --decode > /tmp/input
|
||||||
cargo run --release ./input
|
cd $DAY_FOLDER
|
||||||
|
cargo run --release /tmp/input
|
||||||
|
Loading…
Reference in New Issue
Block a user