From: Marc Fehling Date: Wed, 17 Jul 2024 10:33:02 +0000 (+0200) Subject: Let upload-artifact deal with archiving. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=129100ce407d97551fb7f7f912ba873b1d5eb348;p=dealii.git Let upload-artifact deal with archiving. --- diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 93cfa804a3..8bbde6b95c 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -60,19 +60,13 @@ jobs: run: | cmake --build build --parallel 2 --target setup_tests_a-framework setup_tests_examples setup_tests_quick_tests ctest --test-dir build --build-config Debug --output-on-failure --extra-verbose - - name: archive - # run only if a PR is merged into master - if: ${{ github.ref == 'refs/heads/master' && matrix.os == 'windows-2022' }} - 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' && matrix.os == 'windows-2022' }} uses: actions/upload-artifact@v4 with: - name: dealii-windows.zip - path: c:/project/dealii-windows.zip + name: dealii-${{ matrix.os }} + path: c:/project - name: upload CMakeConfigureLog uses: actions/upload-artifact@v4 if: always()