Update crowdin.yml
This commit is contained in:
7
.github/workflows/crowdin.yml
vendored
7
.github/workflows/crowdin.yml
vendored
@@ -149,17 +149,18 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Get Crowdin Project Status
|
||||
if: github.event.inputs.download_language != ''
|
||||
uses: crowdin/github-action@v2.15.0
|
||||
with:
|
||||
command: 'status translation'
|
||||
command_args: "--language ${{ github.event.inputs.download_language || '' }}"
|
||||
configuration: crowdin.yml
|
||||
command_args: "-l ${{ github.event.inputs.download_language }}"
|
||||
config: crowdin.yml
|
||||
env:
|
||||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_TOKEN }}
|
||||
|
||||
- name: Generate Status Report
|
||||
run: |
|
||||
echo "## Crowdin Translation Status Report" >> $GITHUB_STEP_SUMMARY
|
||||
echo "## 🌐 Crowdin Translation Status Report" >> $GITHUB_STEP_SUMMARY
|
||||
echo "" >> $GITHUB_STEP_SUMMARY
|
||||
echo "**Project ID**: ${{ vars.CROWDIN_ID }}" >> $GITHUB_STEP_SUMMARY
|
||||
echo "**Language Filter**: ${{ github.event.inputs.download_language || 'All languages' }}" >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
Reference in New Issue
Block a user