From 729382d0e57a776a42bb6f0e8ec39cf9753b289c Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Sat, 30 Nov 2024 11:50:51 -0500 Subject: [PATCH] github: only upload client binaries when merging PRs Signed-off-by: Simon Deziel --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 22990eb10f93..4875d3ad3379 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -440,6 +440,7 @@ jobs: - name: Upload lxc client artifacts uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + if: ${{ github.event_name == 'push' }} continue-on-error: true with: name: lxd-clients-${{ runner.os }}