diff --git a/.github/workflows/translation_check.yml b/.github/workflows/translation_check.yml index 071d94e9cb..c2fab93db4 100644 --- a/.github/workflows/translation_check.yml +++ b/.github/workflows/translation_check.yml @@ -18,10 +18,15 @@ jobs: repository: ${{github.event.pull_request.head.repo.full_name}} allow-unsafe-pr-checkout: true - - name: get en-GB.txt (curl) - run: | - mkdir -p OpenRCT2/data/language - curl -sSLf https://raw.githubusercontent.com/OpenRCT2/OpenRCT2/develop/data/language/en-GB.txt -o OpenRCT2/data/language/en-GB.txt + - name: Get en-GB.txt from OpenRCT2 develop + uses: actions/checkout@v7 + with: + repository: OpenRCT2/OpenRCT2 + ref: develop + path: OpenRCT2 + sparse-checkout: | + data/language/en-GB.txt + sparse-checkout-cone-mode: false - name: Checkout translations before PR changes (for comparsion) uses: actions/checkout@v7