Skip to content

Commit

Permalink
ci: update workflow to improve markdown file handling and enhance nam…
Browse files Browse the repository at this point in the history
…ing consistency
  • Loading branch information
huangdijia committed Dec 31, 2024
1 parent a0d3894 commit 44c0f3e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docs-translate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Get all changed markdown files
- name: Get All Changed Markdown Files
id: changed-markdown-files
uses: tj-actions/changed-files@v45
with:
Expand All @@ -25,7 +25,7 @@ jobs:
**.md
docs/**.md
- name: List all changed files markdown files
- name: List All Changed Markdown Files
if: steps.changed-markdown-files.outputs.any_changed == 'true'
env:
ALL_CHANGED_FILES: ${{ steps.changed-markdown-files.outputs.all_changed_files }}
Expand Down Expand Up @@ -82,6 +82,7 @@ jobs:
php bin/doc-translate
- name: Start Translate EN
if: steps.changed-markdown-files.outputs.any_changed == 'true'
env:
ALL_CHANGED_FILES: ${{ steps.changed-markdown-files.outputs.all_changed_files }}
run: |
Expand Down

0 comments on commit 44c0f3e

Please sign in to comment.