File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,16 @@ jobs:
4242 - name : Copy from src-data branch
4343 run : |
4444 echo "Fetching src-data branch..."
45- git fetch origin src-data --depth=1
46-
47- echo "Restoring files from src-data..."
48- git restore --source origin/src-data --staged --worktree -- . || true
49-
50- echo "✓ Copied from src-data"
45+ if git fetch origin src-data --depth=1; then
46+ echo "✓ Fetched src-data"
47+ echo "Restoring files from src-data..."
48+ git restore --source origin/src-data --staged --worktree -- . || true
49+ echo "✓ Copied from src-data"
50+ else
51+ echo "❌ Failed to fetch src-data branch"
52+ echo "Please ensure the src-data branch exists on origin"
53+ exit 1
54+ fi
5155
5256
5357 - name : Find vocabulary directories
You can’t perform that action at this time.
0 commit comments