File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -45,17 +45,19 @@ 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
4850 - uses : actions/cache@v3
4951 with :
5052 path : |
5153 ~/.cargo/registry
5254 ~/.cargo/git
53- target
5455 key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
5556 - name : Install cargo-workspaces
5657 run : cargo install cargo-workspaces
5758 - name : Publish workspace crates
5859 # `--no-remove-dev-deps` is a workaround for https://github.com/pksunkara/cargo-workspaces/issues/103
59- run : cargo workspaces publish --from-git --no-remove-dev-deps -y
60+ run : |
61+ cargo workspaces publish --from-git --no-remove-dev-deps -y
6062 env :
6163 CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
You can’t perform that action at this time.
0 commit comments