We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cf7663f + 5ebd2c0 commit daf402eCopy full SHA for daf402e
ci/make-release.sh
@@ -17,6 +17,12 @@ cd target/release
17
case $1 in
18
ubuntu* | macos*)
19
asset="mdbook-$TAG-$host.tar.gz"
20
+ # There is a bug with BSD tar on macOS where the first 8MB of the file are
21
+ # sometimes all NUL bytes. See https://github.com/actions/cache/issues/403
22
+ # and https://github.com/rust-lang/cargo/issues/8603 for some more
23
+ # information. An alternative solution here is to install GNU tar, but
24
+ # flushing the disk cache seems to work, too.
25
+ sudo /usr/sbin/purge
26
tar czf ../../$asset mdbook
27
;;
28
windows*)
0 commit comments