Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDaniel Girtler <blackrabbit256@gmail.com>2023-09-17 22:12:34 +1000
committerGitHub <noreply@github.com>2023-09-17 22:12:34 +1000
commit91c2906f3cc30903986b77a320e086856f05d080 (patch)
tree61cc1778e332f8fa729f23a32122da5b7a466d2c /.github/workflows
parent15e52b77683f266ee843def2bb35ed02cd8e559d (diff)
Fix broken action check (#2060)
* Fix broken action check
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/translation-check.yaml17
1 files changed, 9 insertions, 8 deletions
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