From 129100ce407d97551fb7f7f912ba873b1d5eb348 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Wed, 17 Jul 2024 12:33:02 +0200 Subject: [PATCH] Let upload-artifact deal with archiving. --- .github/workflows/windows.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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() -- 2.39.5