From: Marc Fehling Date: Wed, 20 Sep 2023 06:44:02 +0000 (-0600) Subject: Only upload archive on one worker. X-Git-Tag: relicensing~485^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=464e2656b0cb63e187e0fed677511ef1d9268d04;p=dealii.git Only upload archive on one worker. --- 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