Skip to content

Merge branch 'main' into test-fail #93

Merge branch 'main' into test-fail

Merge branch 'main' into test-fail #93

Workflow file for this run

name: Test for workflow
on: push
defaults:
run:
shell: bash -euxo pipefail {0}
jobs:
build:
strategy:
matrix:
build-type: [release,debug]
uses: ./.github/workflows/build.yml
with:
build-type: ${{matrix.build-type}}

Check failure on line 13 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test for workflow

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 13, Col: 19): Invalid input, build-type is not defined in the referenced workflow.
conclusion:
if: always()
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Fail
if: |
contains(needs.*.result, 'failure')
|| contains(needs.*.result, 'cancelled')
|| contains(needs.*.result, 'skipped')
run: exit 1