Fix string upload if new changes are present (#4149)

* Fix string upload if new changes are present

* Add release notes
This commit is contained in:
Julian Dominguez-Schatz
2025-01-14 09:19:37 -05:00
committed by GitHub
parent 6573a52411
commit 5921a35340
2 changed files with 14 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ jobs:
wlc \
--url https://hosted.weblate.org/api/ \
--key "${{ secrets.WEBLATE_API_KEY_CI_STRINGS }}" \
pull \
push \
actualbudget/actual
- name: Check out updated translations
uses: actions/checkout@v4
@@ -69,6 +69,13 @@ jobs:
else
echo "No changes to commit"
fi
- name: Update Weblate with latest translations
run: |
wlc \
--url https://hosted.weblate.org/api/ \
--key "${{ secrets.WEBLATE_API_KEY_CI_STRINGS }}" \
pull \
actualbudget/actual
- name: Unlock translations
if: always() # Clean up even on failure