From 3073137006cada22a1197714a3cc363b961f62f3 Mon Sep 17 00:00:00 2001 From: BruceChen Date: Mon, 6 Apr 2026 20:06:38 +0800 Subject: [PATCH] fix: conditionally upload sources to Crowdin based on repository - Updated the GitHub Actions workflow to conditionally upload sources to Crowdin only for the MCCTeam/Minecraft-Console-Client repository, enhancing the workflow's flexibility. --- .github/workflows/build-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 8649102c..5e521883 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -73,7 +73,7 @@ jobs: uses: crowdin/github-action@v2.4.0 if: steps.cache-check.outputs.cache-hit != 'true' && steps.crowdin-check.outputs.available == 'true' with: - upload_sources: false + upload_sources: ${{ github.repository == 'MCCTeam/Minecraft-Console-Client' }} upload_translations: false download_translations: true