From 230e73749fd4c928a497d93672f11be39366aaea Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 11 Jun 2024 10:36:34 -0400 Subject: [PATCH] Only download necessary files in release step (#1344) --- .github/workflows/build.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fcc75429e..3cd2e072e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -457,9 +457,22 @@ jobs: needs: [build-package, build-image] runs-on: ubuntu-22.04 steps: - # Download literally every single artifact. This also downloads client and docs, - # but the filtering below won't pick these up (I hope) + # Download all fat JARs - uses: actions/download-artifact@v4 + with: + merge-multiple: true + pattern: jar-* + # Download offline photonlib + - uses: actions/download-artifact@v4 + with: + merge-multiple: true + pattern: photonlib-offline + # Download all images + - uses: actions/download-artifact@v4 + with: + merge-multiple: true + pattern: image-* + - run: find # Push to dev release - uses: pyTooling/Actions/releaser@r0