From 4792bba47b7fb87a4289a603701702c1a65ea61a Mon Sep 17 00:00:00 2001 From: Mostyn Bramley-Moore Date: Mon, 24 Aug 2026 21:05:16 +0200 Subject: [PATCH 1/2] Produce builds.tar.zst instead of builds.zip This produces a smaller file, and is faster to unpack. --- .yamato/build-all.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.yamato/build-all.yml b/.yamato/build-all.yml index 7e2ea8b5f7a4c..2c3b7f9442c2d 100644 --- a/.yamato/build-all.yml +++ b/.yamato/build-all.yml @@ -13,16 +13,19 @@ create-build-zip: agent: type: Unity::VM - image: platform-foundation/windows-bokken:latest - flavor: b1.small + image: slough-ops/ubuntu-24.04-base:v0.0.4-1336798 + flavor: b1.medium artifacts: builds: paths: - - builds.zip + - builds.tar.zst commands: - - choco install 7zip - - mkdir builds\Google.Protobuf - - move csharp\src\Google.Protobuf\bin builds\Google.Protobuf\ - - 7z a builds.zip .\builds\* + - curl -L -o bsdtar.zip https://public-stevedore.unity3d.com/r/public/bsdtar-linux-x64/3.8.9_3327cead_a63db9f0bd2c8c7dcfd35f5627eb47cab74075acdb50f5c7be2e524a9351126e.zip + - unzip bsdtar.zip -d bsdtar + - chmod +x bsdtar/bsdtar + - mkdir -p builds/Google.Protobuf + - mv csharp/src/Google.Protobuf/bin builds/Google.Protobuf/ + # builds.tar.zst unpacks faster than the old builds.zip + - ./bsdtar/bsdtar --zstd --options zstd:compression-level=22 -cf builds.tar.zst -C builds bin Google.Protobuf include lib From 7004ddc0abcaab9af56e5098eac764fb2914b7ec Mon Sep 17 00:00:00 2001 From: Mostyn Bramley-Moore Date: Mon, 24 Aug 2026 21:49:42 +0200 Subject: [PATCH 2/2] Produce a single file artifact No need to zip a .tar.zst file. --- .yamato/build-all.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.yamato/build-all.yml b/.yamato/build-all.yml index 2c3b7f9442c2d..63cbecdd6fdd1 100644 --- a/.yamato/build-all.yml +++ b/.yamato/build-all.yml @@ -20,6 +20,7 @@ create-build-zip: builds: paths: - builds.tar.zst + type: single_file commands: - curl -L -o bsdtar.zip https://public-stevedore.unity3d.com/r/public/bsdtar-linux-x64/3.8.9_3327cead_a63db9f0bd2c8c7dcfd35f5627eb47cab74075acdb50f5c7be2e524a9351126e.zip