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
+1 -4
View File
@@ -64,11 +64,8 @@ set -e
if [ $DOWNLOAD_EXIT -eq 0 ]; then if [ $DOWNLOAD_EXIT -eq 0 ]; then
# Export model directory so tests can find models without network access # Export model directory so tests can find models without network access
if [ -n "$GITHUB_ENV" ]; then if [ -n "$GITHUB_ENV" ]; then
echo "CLAUDE_MNEMONIC_MODEL_DIR=$GITHUB_WORKSPACE/testdata/models" >> "$GITHUB_ENV" echo "CLAUDE_MNEMONIC_MODEL_DIR=$GITHUB_WORKSPACE/testdata/models" >>"$GITHUB_ENV"
fi fi
else else
echo "Warning: Model download failed — tests will try to download models at runtime" echo "Warning: Model download failed — tests will try to download models at runtime"
fi fi
else
echo "Warning: Model download failed — tests will try to download models at runtime"
fi