Skip to content

Continue on error during login, if the CLI complains that one of the … #77

Continue on error during login, if the CLI complains that one of the …

Continue on error during login, if the CLI complains that one of the … #77

Workflow file for this run

name: Test the setup action

Check failure on line 1 in .github/workflows/test-setup.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-setup.yml

Invalid workflow file

`workworkflow_dispatch` is not a valid event name
on:
pull_request:
branches:
- master
push:
branches:
- master
paths:
- .github/workflows/test-setup.yml
- setup/**
workworkflow_dispatch:
jobs:
setup-mend-cli:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Mend CLI
uses: ./setup
- name: Check if Mend CLI is on the PATH
run: |
if ! command -v mend &> /dev/null
then
echo "Mend CLI could not be found on the PATH"
exit 1
fi