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