From 91c2906f3cc30903986b77a320e086856f05d080 Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Sun, 17 Sep 2023 22:12:34 +1000 Subject: Fix broken action check (#2060) * Fix broken action check --- .github/workflows/translation-check.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/translation-check.yaml b/.github/workflows/translation-check.yaml index 43f114ac..11418d31 100644 --- a/.github/workflows/translation-check.yaml +++ b/.github/workflows/translation-check.yaml @@ -5,7 +5,7 @@ on: pull_request: paths: - 'archinstall/locales/**' -name: translation file checks +name: Verify local_generate script was run on translation changes jobs: translation-check: runs-on: ubuntu-latest @@ -13,10 +13,11 @@ jobs: image: archlinux:latest steps: - uses: actions/checkout@v4 - - run: pacman --noconfirm -Syu python - - run: cd archinstall/locales - - run: pwd - - run: ls -l - - run: bash locales_generator.sh - - run: git diff --name-only - - run: ls + - run: pacman --noconfirm -Syu python git diffutils + - run: | + cd .. + cp -r archinstall archinstall_orig + cd archinstall/archinstall/locales + bash locales_generator.sh + cd ../../.. + git diff --no-index --name-only archinstall_orig archinstall -- cgit v1.2.3-54-g00ecf