From 57580a74416404eb7722c228698ab521e4974a3f Mon Sep 17 00:00:00 2001 From: Exzap <13877693+Exzap@users.noreply.github.com> Date: Thu, 11 May 2023 08:53:21 +0200 Subject: [PATCH] CI: Make sure we only commit .mo files Also fix resources/resources/ path --- .github/workflows/sync.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 67e28fc..e531d76 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -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