From 1287c9666f7d996ada1f26ade18b9076a662103b Mon Sep 17 00:00:00 2001 From: Animesh Kumar Date: Fri, 5 Apr 2024 22:03:00 +0530 Subject: [PATCH] chore: minor code update, testing workflow --- .github/workflows/validate-examples.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/validate-examples.yml b/.github/workflows/validate-examples.yml index 19a3f4a6..1390bc32 100644 --- a/.github/workflows/validate-examples.yml +++ b/.github/workflows/validate-examples.yml @@ -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 }} \ No newline at end of file + custom_command: validate $FILES_FOUND \ No newline at end of file