Skip to content

Commit f6608ec

Browse files
committed
fix: Add --allow-dirty flag to cargo publish
The build step updates Cargo.lock, so we need --allow-dirty
1 parent 1e15909 commit f6608ec

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
@@ -37,7 +37,7 @@ jobs:
3737
run: cargo build --release --verbose
3838

3939
- name: Publish to crates.io
40-
run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
40+
run: cargo publish --allow-dirty --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
4141
env:
4242
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
4343

0 commit comments

Comments
 (0)