Skip to content

Commit 79e41e0

Browse files
committed
ci: moved cleanup on 'changes' job
1 parent 9400091 commit 79e41e0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616
outputs:
1717
needs_build: ${{ steps.filter.outputs.needs_build }}
1818
steps:
19+
- name: cleanup work folder
20+
run: |
21+
if [ -n "${GITHUB_WORKSPACE}" ]; then
22+
rm -rf ${GITHUB_WORKSPACE}/*
23+
fi
1924
- uses: actions/checkout@v4
2025
with:
2126
fetch-depth: 25
@@ -42,11 +47,6 @@ jobs:
4247
NODE_ENV: development
4348

4449
steps:
45-
- name: cleanup work folder
46-
run: |
47-
if [ -n "${GITHUB_WORKSPACE}" ]; then
48-
rm -rf ${GITHUB_WORKSPACE}/*
49-
fi
5050
- uses: actions/checkout@v4
5151
with:
5252
fetch-depth: 25

0 commit comments

Comments
 (0)