From bd486c802c9621c5a87035843ab1d69c76bf94fe Mon Sep 17 00:00:00 2001 From: "Aleksei (Faumaray) Selikhov" Date: Sun, 6 Dec 2026 07:56:00 +0300 Subject: [PATCH] ci(windows): upload only the binaries and the SDK library The Wine test/package jobs never compile from the artifact, so the sources, object files and CTest files are not needed: the artifact drops from ~1.5 GB to the executables plus libVoidBuild_Sdk.a. --- .gitea/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1352762..a18b7f4 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -254,12 +254,10 @@ jobs: uses: actions/upload-artifact@v3 with: name: vbs-wine-build-${{ matrix.variant }} + # Downstream jobs only run and package the binaries: no sources or + # object files are needed, which keeps the artifact small. path: | build/wine-${{ matrix.variant }}/bin/ - build/wine-${{ matrix.variant }}/CTestTestfile.cmake - build/wine-${{ matrix.variant }}/tests/CTestTestfile.cmake - build/wine-${{ matrix.variant }}/_deps/voidlibrary-src/ - !build/wine-${{ matrix.variant }}/_deps/voidlibrary-src/.git/ build/wine-${{ matrix.variant }}/libVoidBuild_Sdk.a retention-days: 7