Skip to content

Commit

Permalink
ci: aggregate all builds with guardian (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Jul 8, 2024
1 parent 1d86882 commit 03f0b80
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/docker-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,17 @@ jobs:
push: ${{ github.ref == 'refs/heads/master' }}
tags: borda/docker_python-opencv-ffmpeg:${{ matrix.device }}-py${{ matrix.python_version }}-cv${{ matrix.opencv_version }}
timeout-minutes: 240

build-guardian:
runs-on: ubuntu-latest
needs: build-push
if: always()
steps:
- run: echo "${{ needs.build-push.result }}"
- name: failing...
if: needs.build-push.result == 'failure'
run: exit 1
- name: cancelled or skipped...
if: contains(fromJSON('["cancelled", "skipped"]'), needs.build-push.result)
timeout-minutes: 1
run: sleep 90

0 comments on commit 03f0b80

Please sign in to comment.