From 9a8dff0d10bd28be01239dbf166a17f5d66eb802 Mon Sep 17 00:00:00 2001 From: Remi Bernotavicius Date: Thu, 5 Dec 2024 22:59:32 -0800 Subject: [PATCH] Re-enable github artifacts to see if it works --- scripts/run-tests-on-maelstrom-inner.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/run-tests-on-maelstrom-inner.sh b/scripts/run-tests-on-maelstrom-inner.sh index fad5ef4f..3d056920 100755 --- a/scripts/run-tests-on-maelstrom-inner.sh +++ b/scripts/run-tests-on-maelstrom-inner.sh @@ -10,15 +10,15 @@ WORKER_ARGS="" CARGO_ARGS="--profile=release" PYTEST_ARGS="" -# if [[ $# -gt 0 ]]; then -# export ACTIONS_RUNTIME_TOKEN=$1 -# export ACTIONS_RESULTS_URL=$2 -# BROKER_ARGS="$BROKER_ARGS --artifact-transfer-strategy github" -# WORKER_ARGS="$WORKER_ARGS --artifact-transfer-strategy github" -# CARGO_ARGS="$CARGO_ARGS --artifact-transfer-strategy github" -# PYTEST_ARGS="$PYTEST_ARGS --artifact-transfer-strategy github" -# echo "using github for artifact transfer" -# fi +if [[ $# -gt 0 ]]; then + export ACTIONS_RUNTIME_TOKEN=$1 + export ACTIONS_RESULTS_URL=$2 + BROKER_ARGS="$BROKER_ARGS --artifact-transfer-strategy github" + WORKER_ARGS="$WORKER_ARGS --artifact-transfer-strategy github" + CARGO_ARGS="$CARGO_ARGS --artifact-transfer-strategy github" + PYTEST_ARGS="$PYTEST_ARGS --artifact-transfer-strategy github" + echo "using github for artifact transfer" +fi set +e