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 @@ -119,9 +119,11 @@ jobs:
119119 path : |
120120 ~/.cargo/registry
121121 target/
122- key : nextver-${{ matrix.triple }}-${{ hashFiles('**/Cargo.lock') }}
122+ key : nextver-${{ matrix.triple }}-${{needs.tag.outputs.name}}-${{ hashFiles('**/Cargo.lock') }}
123123 restore-keys : |
124+ nextver-${{ matrix.triple }}-${{needs.tag.outputs.name}}-
124125 nextver-${{ matrix.triple }}-
126+ nextver-
125127
126128 - name : Test
127129 run : cargo test --target ${{ matrix.triple }}
@@ -226,7 +228,7 @@ jobs:
226228 gh release upload "${TAG_NAME}" ../binary-archives/*
227229
228230 - name : Publish to crates.io
229- run : cargo publish -C source
231+ run : cargo -C source publish
230232 env :
231233 CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
232234
You can’t perform that action at this time.
0 commit comments