mirror of
https://github.com/lukaszraczylo/claude-mnemonic.git
synced 2026-06-05 23:03:55 +00:00
fix: remove duplicate else block in workflow-prepare.sh
This commit is contained in:
+4
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user