mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-12 13:52:36 +00:00
Fix macOS CI deploy take 2.
This commit is contained in:
parent
daf402e1dc
commit
a94a940ff7
1 changed files with 5 additions and 1 deletions
|
@ -15,7 +15,11 @@ export CARGO_PROFILE_RELEASE_LTO=true
|
|||
cargo build --bin mdbook --release
|
||||
cd target/release
|
||||
case $1 in
|
||||
ubuntu* | macos*)
|
||||
ubuntu*)
|
||||
asset="mdbook-$TAG-$host.tar.gz"
|
||||
tar czf ../../$asset mdbook
|
||||
;;
|
||||
macos*)
|
||||
asset="mdbook-$TAG-$host.tar.gz"
|
||||
# There is a bug with BSD tar on macOS where the first 8MB of the file are
|
||||
# sometimes all NUL bytes. See https://github.com/actions/cache/issues/403
|
||||
|
|
Loading…
Reference in a new issue