Skip to content

Commit cc18512

Browse files
committed
fix: clean target directory in ci release workflow
1 parent a3384a2 commit cc18512

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release_please.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ jobs:
5454
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
5555
- name: Install cargo-workspaces
5656
run: cargo install cargo-workspaces
57+
- name: Clean target directory
58+
run: rm -rf target
5759
- name: Publish workspace crates
5860
# `--no-remove-dev-deps` is a workaround for https://github.com/pksunkara/cargo-workspaces/issues/103
5961
run: cargo workspaces publish --from-git --no-remove-dev-deps -y

0 commit comments

Comments
 (0)