Skip to content

Commit 7bdee3f

Browse files
committed
ci(publish): free disk space + workflow_dispatch so the v1.15.0 crates.io publish can be re-run (symbi-shell/symbi were left unpublished by a runner out-of-disk failure)
1 parent fbc6065 commit 7bdee3f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Publish to crates.io
33
on:
44
release:
55
types: [published]
6+
# Manual re-run (e.g. after a transient runner failure). Publishes whatever
7+
# versions are in the checked-out main; already-published versions are skipped.
8+
workflow_dispatch: {}
69

710
env:
811
CARGO_TERM_COLOR: always
@@ -17,6 +20,14 @@ jobs:
1720
name: Publish crates
1821
runs-on: ubuntu-latest
1922
steps:
23+
- name: Free disk space
24+
run: |
25+
# cargo publish verifies each crate by building its full dependency
26+
# tree (incl. the large lance/datafusion/arrow stack) into a shared
27+
# target/, which exhausts the runner's disk. Reclaim space first.
28+
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
29+
sudo docker image prune --all --force
30+
df -h /
2031
- name: Checkout
2132
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2233

0 commit comments

Comments
 (0)