Skip to content

Commit 2e4a315

Browse files
authored
fix: Update release.yml (#561)
Adds cleanup step to delete folder just before building new output.
1 parent e7f6aaa commit 2e4a315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ jobs:
6464
run: |
6565
IFS=$'\n'
6666
AFFECTED_WORKSPACES_ARRAY=(${{ steps.get_workspaces.outputs.changed_workspaces }})
67-
6867
echo "Building affected workspaces:"
6968
for workspace in "${AFFECTED_WORKSPACES_ARRAY[@]}"; do
7069
echo " - samples/$workspace"
70+
rm -rf dist/samples/$workspace
7171
(cd samples/ && npm run build --workspace=$workspace)
7272
done
7373

0 commit comments

Comments
 (0)