diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml index 283c3c68896..48712cf16ff 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos-build.yml @@ -24,7 +24,7 @@ jobs: run: | cargo build --release -p spacetimedb-cli mkdir build - cp --sparse=never target/release/spacetime build/spacetime + dd if=target/release/spacetime of=build/spacetime conv=noerror,sync sudo apt install libarchive-tools cd build && tar -czf spacetime.darwin-amd64.tar.gz spacetime rm spacetime @@ -32,7 +32,7 @@ jobs: - name: Compile Aarch64 run: | cargo build --release -p spacetimedb-cli --target=aarch64-apple-darwin - cp --sparse=never target/aarch64-apple-darwin/release/spacetime build/spacetime + dd if=target/aarch64-apple-darwin/release/spacetime of=build/spacetime conv=noerror,sync cd build && tar -czf spacetime.darwin-arm64.tar.gz spacetime rm spacetime