Skip to content

Commit

Permalink
chore: minor code update, testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AnimeshKumar923 committed Apr 5, 2024
1 parent 6671c44 commit 1287c96
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/validate-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ jobs:
- name: Find YAML files
run: |
files=$(find examples/ \( -path 'examples/social-media/*' -prune \) -o -type f \( -name "*.yml" -o -name "*.yaml" \))
echo "::set-output name=files::$files"
echo "FILES_FOUND=$files" >> $GITHUB_ENV
- name: Validate AsyncAPI documents
uses: asyncapi/github-action-for-cli@v3.1.1
with:
custom_command: validate ${{ steps.FindYAMLFiles.outputs.files }}
# arguments: |
# ${{ steps.FindYAMLFiles.outputs.files }}
custom_command: validate $FILES_FOUND

0 comments on commit 1287c96

Please sign in to comment.