mirror of
https://github.com/cemu-project/Cemu-Language.git
synced 2024-11-23 03:29:49 +00: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
|
||||
run: |
|
||||
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
|
||||
run: |
|
||||
cd Cemu
|
||||
git config user.name "Cemu-Language CI"
|
||||
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 push
|
||||
|
Loading…
Reference in New Issue
Block a user