gradle-build-action/.github/workflows/failure-cases.yml
Margen67 5b86c8d41f ci: Improvements
Upgrade checkout to v3.
Upgrade github-script to v6.
Upgrade CodeQL actions to v2.
Cleanup/formatting.
2022-05-18 18:48:33 -07:00

32 lines
841 B
YAML

name: Execute failure cases
on: workflow_dispatch
env:
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{ github.workflow }}#${{ github.run_number }}:${{ github.run_attempt }}-
jobs:
wrapper-missing:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Test wrapper missing
uses: ./
continue-on-error: true
with:
build-root-directory: .github/workflow-samples/no-wrapper
arguments: help
bad-configuration:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Test bad config value
uses: ./
continue-on-error: true
with:
build-root-directory: .github/workflow-samples/no-wrapper
arguments: help
cache-disabled: yes