From 464e2656b0cb63e187e0fed677511ef1d9268d04 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Wed, 20 Sep 2023 00:44:02 -0600 Subject: [PATCH] Only upload archive on one worker. --- .github/workflows/windows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 35dd73105c..55798659db 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -62,14 +62,14 @@ jobs: cmake --build build --parallel 2 --target test - name: archive library # run only if a PR is merged into master - if: ${{ github.ref == 'refs/heads/master' }} + if: ${{ github.ref == 'refs/heads/master' && matrix.os == 'windows-2022' }} shell: bash run: | cd c:/project 7z a dealii-windows.zip * - name: upload library # run only if a PR is merged into master - if: ${{ github.ref == 'refs/heads/master' }} + if: ${{ github.ref == 'refs/heads/master' && matrix.os == 'windows-2022' }} uses: actions/upload-artifact@v3 with: name: dealii-windows.zip -- 2.39.5