Create sh-called.yaml #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Caller | ||
on: | ||
push: | ||
jobs: | ||
test-yaml: | ||
name: Test YAML | ||
runs-on: ubuntu-latest | ||
outputs: | ||
yaml-changes: ${{ steps.yaml-changes.outputs.yaml-files }} | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Check for YAML | ||
uses: dorny/paths-filter@v3 | ||
id: yaml-changes | ||
with: | ||
filters: | | ||
yaml-files: | ||
- "**.yml" | ||
- "**.yaml" | ||
call-yaml: | ||
name: Call YAML Workflow | ||
needs: | ||
- test-yaml | ||
if: needs.test-yaml.outputs.yaml-changes == 'true' | ||
uses: james-garriss/test-paths-filter/.github/workflows/called.yaml@main | ||
Check failure on line 26 in .github/workflows/caller.yaml GitHub Actions / .github/workflows/caller.yamlInvalid workflow file
|