]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
GitHub actions: include job name in artifact name.
authorFlorian Forster <octo@collectd.org>
Thu, 23 Nov 2023 14:22:28 +0000 (15:22 +0100)
committerFlorian Forster <octo@collectd.org>
Thu, 23 Nov 2023 14:22:28 +0000 (15:22 +0100)
Otherwise a random job would "win" and the entire workflow only produces one artifact.

.github/workflows/build.yml

index cf9d17aa9e40d60b0984321f66ef61d0544de4d8..3b7cc4606d10964bc30d75fed04f428a1a5e8e9c 100644 (file)
@@ -17,12 +17,10 @@ jobs:
   build:
     runs-on: ubuntu-latest
     container: collectd/ci:${{ matrix.container_tag }}
-    continue-on-error: ${{ matrix.allow_failures }}
+    continue-on-error: false
     strategy:
       fail-fast: false
       matrix:
-        # for tasks that are optional, use the continue-on-error option, to prevent a workflow from failing when the task fails
-        allow_failures: [ false ]
         container_tag:
           # debian family
           - bullseye_amd64
@@ -63,7 +61,7 @@ jobs:
     - name: Dump test logs
       uses: actions/upload-artifact@v3
       with:
-        name: Test suite log
+        name: ${{ matrix.container_tag }} test log
         path: test-suite.log
     - name: Install bzip2
       run: |
@@ -114,7 +112,7 @@ jobs:
     - name: Dump test logs
       uses: actions/upload-artifact@v3
       with:
-        name: Test suite log
+        name: ${{ matrix.container_tag }} test log
         path: test-suite.log
     - name: Install bzip2
       run: |