]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Let upload-artifact deal with archiving. 17800/head
authorMarc Fehling <mafehling.git@gmail.com>
Wed, 17 Jul 2024 10:33:02 +0000 (12:33 +0200)
committerMarc Fehling <mafehling.git@gmail.com>
Wed, 23 Oct 2024 14:20:16 +0000 (16:20 +0200)
.github/workflows/windows.yml

index 93cfa804a3aea760a78a5494dfff0456b358a083..8bbde6b95cd19e0236f9848e5c9f54e560b90402 100644 (file)
@@ -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()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.