Skip to content

Commit 3380963

Browse files
committed
chore: revert 'fix: clean target directory in ci release workflow'
Signed-off-by: Joseph Livesey <[email protected]>
1 parent 3047d45 commit 3380963

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/release_please.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,17 @@ jobs:
4545
- uses: actions/checkout@v3
4646
- name: Install system dependencies
4747
run: apt-get update && apt-get install -y protobuf-compiler libsasl2-dev
48-
- name: Clean target directory
49-
run: rm -rf target
5048
- uses: actions/cache@v3
5149
with:
5250
path: |
5351
~/.cargo/registry
5452
~/.cargo/git
53+
target
5554
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
5655
- name: Install cargo-workspaces
5756
run: cargo install cargo-workspaces
5857
- name: Publish workspace crates
5958
# `--no-remove-dev-deps` is a workaround for https://github.com/pksunkara/cargo-workspaces/issues/103
60-
run: |
61-
cargo workspaces publish --from-git --no-remove-dev-deps -y
59+
run: cargo workspaces publish --from-git --no-remove-dev-deps -y
6260
env:
6361
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)