2021-09-27 21:33:22 -04:00
|
|
|
name: Execute failure cases
|
2021-09-12 12:52:53 -04:00
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
2021-09-14 07:33:50 -04:00
|
|
|
|
2022-05-24 04:16:57 -04:00
|
|
|
failing-build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout sources
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Test build failure
|
|
|
|
uses: ./
|
|
|
|
continue-on-error: true
|
|
|
|
with:
|
2022-05-24 10:51:53 -04:00
|
|
|
build-root-directory: .github/workflow-samples/kotlin-dsl
|
2022-05-24 04:16:57 -04:00
|
|
|
arguments: not-a-valid-task
|
|
|
|
|
2021-09-12 12:52:53 -04:00
|
|
|
wrapper-missing:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout sources
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Test wrapper missing
|
|
|
|
uses: ./
|
2021-09-15 19:57:43 -04:00
|
|
|
continue-on-error: true
|
2021-09-12 12:52:53 -04:00
|
|
|
with:
|
2022-04-05 11:45:02 -04:00
|
|
|
build-root-directory: .github/workflow-samples/no-wrapper
|
2021-09-12 12:52:53 -04:00
|
|
|
arguments: help
|
|
|
|
|
|
|
|
bad-configuration:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout sources
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Test bad config value
|
|
|
|
uses: ./
|
2021-09-15 19:57:43 -04:00
|
|
|
continue-on-error: true
|
2021-09-12 12:52:53 -04:00
|
|
|
with:
|
2022-04-05 11:45:02 -04:00
|
|
|
build-root-directory: .github/workflow-samples/no-wrapper
|
2021-09-12 12:52:53 -04:00
|
|
|
arguments: help
|
2021-09-12 16:26:38 -04:00
|
|
|
cache-disabled: yes
|