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