karaoke-dev / karaoke

Will be the best karaoke system.
http://blog.karaoke.dev
GNU General Public License v3.0
204 stars 16 forks source link

Add github action for upload the localisation to crowdin. #1368

Closed andy840119 closed 2 years ago

andy840119 commented 2 years ago

https://github.com/crowdin/github-action I guess it should be able to add the github action to trigger upload the resource if localization changed.

andy840119 commented 2 years ago

See this demo: https://github.community/t/is-it-possible-to-run-the-job-only-when-a-specific-file-changes/115484/10?u=andy840119

Should trigger the CI only if file in the Localisation folder changed.

andy840119 commented 2 years ago

Guess almost there. Should give it a close if update translate success.

andy840119 commented 2 years ago

Should test after #1367 merged.

andy840119 commented 2 years ago

Tested in the https://github.com/karaoke-dev/karaoke/actions/runs/2478411926 after #1367 And PR created in the https://github.com/karaoke-dev/karaoke-resources/pull/18 seems normal. Nice.