From 0fda89712bc0fb60b79fda3d803da0168067107e Mon Sep 17 00:00:00 2001 From: Molaryy Date: Sat, 26 Oct 2024 12:09:30 +0200 Subject: [PATCH] fix: find files --- .github/workflows/markdown.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/markdown.yaml b/.github/workflows/markdown.yaml index f9f1ed6e..cee8fbf6 100644 --- a/.github/workflows/markdown.yaml +++ b/.github/workflows/markdown.yaml @@ -39,8 +39,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Find Markdown files + id: find_markdown + run: | + echo "files=$(find . -type f -name '*.md')" >> $GITHUB_ENV - name: Spell checker uses: rojopolis/spellcheck-github-actions@v0 with: - source_files: $(find . -type f -name "*.md" -print) + source_files: ${{ env.files }} task_name: Markdown