Skip to content

Commit df33105

Browse files
authored
Fix cargo publish failing due to dirty working directory (#35)
1 parent ed497a1 commit df33105

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
- name: Run tests
2929
run: pixi run test-py
3030

31+
- name: Clean up test artifacts
32+
run: rm -rf .pixi .pytest_cache
33+
3134
- name: Publish to crates.io
3235
env:
3336
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.test-projects
44
__pycache__
55
.pixi
6+
.pytest_cache
67
.build
78
.DS_store
89
site/

0 commit comments

Comments
 (0)