Skip to content

Commit b4913de

Browse files
committed
fix: handle missing lock file
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
1 parent 9902e23 commit b4913de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/share/rsdk/infra-repo/.github/workflows/update.yaml.jsonnet

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ function(
7676
git add pkgs.lock
7777
fi
7878
79+
# Clean up wget file in case it failed (for example no lock in test repo)
80+
rm -f pkgs.lock.new
81+
7982
../src/bin/rsdk infra-pkg-snapshot
8083
git add pkgs.json
8184

0 commit comments

Comments
 (0)