From 01f7a5d7d8a679a9120527d3124eddf4da440423 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Mon, 19 Sep 2022 21:28:13 +0200 Subject: [PATCH] Windows action: archive library only if merged into master --- .github/workflows/windows.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 5686c4d09b..0a3128bad7 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -49,6 +49,8 @@ jobs: run: | cmake --build build --target test -- -m - name: archive library + # run only if a PR is merged into master + if: github.ref == 'refs/heads/master' uses: actions/upload-artifact@v3 with: name: dealii-windows.zip -- 2.39.5