2022-05-29 20:58:14 +00:00
|
|
|
name: demo-failure-cases
|
2021-09-12 16:52:53 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
2021-09-14 11:33:50 +00:00
|
|
|
|
2022-05-24 08:16:57 +00: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 14:51:53 +00:00
|
|
|
build-root-directory: .github/workflow-samples/kotlin-dsl
|
2022-05-24 08:16:57 +00:00
|
|
|
arguments: not-a-valid-task
|
|
|
|
|
2021-09-12 16:52:53 +00:00
|
|
|
wrapper-missing:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout sources
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Test wrapper missing
|
|
|
|
uses: ./
|
2021-09-15 23:57:43 +00:00
|
|
|
continue-on-error: true
|
2021-09-12 16:52:53 +00:00
|
|
|
with:
|
2022-04-05 15:45:02 +00:00
|
|
|
build-root-directory: .github/workflow-samples/no-wrapper
|
2021-09-12 16:52:53 +00: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 23:57:43 +00:00
|
|
|
continue-on-error: true
|
2021-09-12 16:52:53 +00:00
|
|
|
with:
|
2022-04-05 15:45:02 +00:00
|
|
|
build-root-directory: .github/workflow-samples/no-wrapper
|
2021-09-12 16:52:53 +00:00
|
|
|
arguments: help
|
2021-09-12 20:26:38 +00:00
|
|
|
cache-disabled: yes
|