Skip to content

Commit 0775dc9

Browse files
authored
ci: try to delete project directory before creating it
This is to workaround the job failing intermittently due to the directory existing for some reason. e.g. https://github.com/callstack/react-native-builder-bob/actions/runs/4276504236/jobs/7544721668
1 parent 588a18d commit 0775dc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-templates.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
104104
- name: Create library
105105
run: |
106+
rm -rf ${{ env.work_dir }} # Workaround for tests failing intermittently
106107
./packages/create-react-native-library/bin/create-react-native-library ${{ env.work_dir }} \
107108
--slug @bob/react-native-test \
108109
--description test \

0 commit comments

Comments
 (0)