From: Florian Forster Date: Thu, 23 Nov 2023 14:22:28 +0000 (+0100) Subject: GitHub actions: include job name in artifact name. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c3b58d381b67152d276cf5ec7c18617a162d02e;p=thirdparty%2Fcollectd.git GitHub actions: include job name in artifact name. Otherwise a random job would "win" and the entire workflow only produces one artifact. --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf9d17aa9..3b7cc4606 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: |