2022-05-29 16:58:14 -04:00
|
|
|
name: demo-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
|
2023-09-04 18:34:02 -04:00
|
|
|
uses: actions/checkout@v4
|
2022-05-24 04:16:57 -04:00
|
|
|
- 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
|
2023-09-04 18:34:02 -04:00
|
|
|
uses: actions/checkout@v4
|
2021-09-12 12:52:53 -04:00
|
|
|
- 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
|
2023-09-04 18:34:02 -04:00
|
|
|
uses: actions/checkout@v4
|
2021-09-12 12:52:53 -04:00
|
|
|
- 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
|