mirror of
https://github.com/cemu-project/Cemu-Language.git
synced 2025-01-08 14:50:38 +01:00
CI: Make sure we only commit .mo files
Also fix resources/resources/ path
This commit is contained in:
parent
91469f1c61
commit
57580a7441
4
.github/workflows/sync.yml
vendored
4
.github/workflows/sync.yml
vendored
@ -34,13 +34,13 @@ jobs:
|
|||||||
- name: Copy .mo files
|
- name: Copy .mo files
|
||||||
run: |
|
run: |
|
||||||
mkdir -p Cemu/bin/resources
|
mkdir -p Cemu/bin/resources
|
||||||
cp -r Cemu-Language/* Cemu/bin/resources/
|
cp -r Cemu-Language/resources/* Cemu/bin/resources/
|
||||||
|
|
||||||
- name: Commit and push .mo files
|
- name: Commit and push .mo files
|
||||||
run: |
|
run: |
|
||||||
cd Cemu
|
cd Cemu
|
||||||
git config user.name "Cemu-Language CI"
|
git config user.name "Cemu-Language CI"
|
||||||
git config user.email "github-actions@github.com"
|
git config user.email "github-actions@github.com"
|
||||||
git add bin/resources
|
git add bin/resources/**/*.mo
|
||||||
git commit -m "Update translation files" || exit 0 # Don't fail if no changes
|
git commit -m "Update translation files" || exit 0 # Don't fail if no changes
|
||||||
git push
|
git push
|
||||||
|
Loading…
Reference in New Issue
Block a user