Skip to content

Commit f28e0a3

Browse files
RobinPicardrlouf
authored andcommitted
Add --allow-dirty flag to cargo publish dry-run commands
1 parent 63ab0d5 commit f28e0a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/dry_run_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
- uses: Swatinem/rust-cache@v2
3737

3838
- name: Dry-run publish to crates.io
39-
run: cargo publish --dry-run
39+
run: cargo publish --dry-run --allow-dirty

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
uses: ./.github/actions/bump_version
4444

4545
- name: Dry-run publish to crates.io
46-
run: cargo publish --dry-run
46+
run: cargo publish --dry-run --allow-dirty
4747

4848
- name: Publish to PyPI
4949
uses: PyO3/maturin-action@v1

0 commit comments

Comments
 (0)