fix: remove duplicate else block in workflow-prepare.sh

This commit is contained in:
2026-05-26 18:51:02 +01:00
parent 1a4fea5c17
commit dbe89f37c8
+4 -7
View File
@@ -62,13 +62,10 @@ DOWNLOAD_EXIT=$?
set -e
if [ $DOWNLOAD_EXIT -eq 0 ]; then
# Export model directory so tests can find models without network access
if [ -n "$GITHUB_ENV" ]; then
echo "CLAUDE_MNEMONIC_MODEL_DIR=$GITHUB_WORKSPACE/testdata/models" >> "$GITHUB_ENV"
fi
else
echo "Warning: Model download failed — tests will try to download models at runtime"
fi
# Export model directory so tests can find models without network access
if [ -n "$GITHUB_ENV" ]; then
echo "CLAUDE_MNEMONIC_MODEL_DIR=$GITHUB_WORKSPACE/testdata/models" >>"$GITHUB_ENV"
fi
else
echo "Warning: Model download failed — tests will try to download models at runtime"
fi