CI: Make sure we only commit .mo files

Also fix resources/resources/ path
This commit is contained in:
Exzap 2023-05-11 08:53:21 +02:00 committed by GitHub
parent 91469f1c61
commit 57580a7441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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