summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-04-14 08:55:50 +0200
committerGitHub <noreply@github.com>2022-04-14 08:55:50 +0200
commit1bd3a501966b78f961140de0b3304985137f13de (patch)
tree306cfc2bce7546e62da1bdccc8951b709b705d42 /.github
parent58273cdd36dbda172f005107255babaa0a587312 (diff)
parent2753dadf00e156ff108ac937da9c88b7c6d73069 (diff)
Merge pull request #1730 from nextcloud/add/summary-mandatory-step
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/images.yml18
1 files changed, 15 insertions, 3 deletions
diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml
index cdec4e10..474e3a97 100644
--- a/.github/workflows/images.yml
+++ b/.github/workflows/images.yml
@@ -14,7 +14,7 @@ defaults:
jobs:
- generate-jobs:
+ init:
name: Generate Jobs
runs-on: ubuntu-latest
outputs:
@@ -31,8 +31,8 @@ jobs:
echo "::set-output name=strategy::$strategy"
test:
- needs: generate-jobs
- strategy: ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
+ needs: init
+ strategy: ${{ fromJson(needs.init.outputs.strategy) }}
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
steps:
@@ -51,3 +51,15 @@ jobs:
run: ${{ matrix.runs.test }}
- name: '"docker images"'
run: ${{ matrix.runs.images }}
+
+ summary:
+ runs-on: ubuntu-latest
+ needs: test
+
+ if: always()
+
+ name: images-test-summary
+
+ steps:
+ - name: Summary status
+ run: if ${{ needs.test.result != 'success' && needs.test.result != 'skipped' }}; then exit 1; fi