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 18456f5 commit ce9c1d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/validate-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
validate-examples:
name: Validate Spec Examples
runs-on: ubuntu-latest
env: # Set the environment variable for the entire job
FILES_FOUND: ${{ steps.find_yaml.outputs.files }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -23,7 +21,9 @@ jobs:
run: |
files=$(find examples/ \( -path 'examples/social-media/*' -prune \) -o -type f \( -name "*.yml" -o -name "*.yaml" \))
echo "FILES_FOUND=$files" >> $GITHUB_ENV
env: # Set the environment variable for the entire job
FILES_FOUND: ${{ steps.find_yaml.outputs.files }}
- name: Validate AsyncAPI documents
uses: asyncapi/[email protected]
with:
custom_command: validate $FILES_FOUND
custom_command: validate ${{ env.FILES_FOUND }}

0 comments on commit ce9c1d6

Please sign in to comment.