Skip to content

Commit

Permalink
Only upload archive on one worker.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcfehling committed Sep 20, 2023
1 parent b045af1 commit 4234e1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4234e1c

Please sign in to comment.