Skip to content

Commit bdf9f3b

Browse files
authored
chore(🐙): improve cleanup of Dawn workspace in build workflow
Updated the build workflow to clean the Dawn workspace by deinitializing the git submodule before removing the directory.
1 parent 26c7129 commit bdf9f3b

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/build-dawn.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ jobs:
163163
runs-on: self-hosted
164164
steps:
165165
- name: Clean previous Dawn workspace
166-
run: rm -rf externals/dawn
166+
run: |
167+
git submodule deinit -f externals/dawn 2>/dev/null || true
168+
rm -rf externals/dawn
167169
168170
- name: Checkout main repository
169171
uses: actions/checkout@v6.0.2
@@ -191,6 +193,11 @@ jobs:
191193
runs-on: self-hosted
192194
needs: [prepare-release, mobile-android, mobile-apple]
193195
steps:
196+
- name: Clean previous Dawn workspace
197+
run: |
198+
git submodule deinit -f externals/dawn 2>/dev/null || true
199+
rm -rf externals/dawn
200+
194201
- name: Checkout main repository
195202
uses: actions/checkout@v6.0.2
196203

0 commit comments

Comments
 (0)