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