Skip to content

Commit

Permalink
CI: Use flatpak gettext action
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Oct 17, 2023
1 parent 8b7e9cb commit ed39a26
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,32 @@ jobs:
repository: appcenter
flat-manager-url: https://flatpak-api.elementary.io
token: ${{ secrets.FLAT_MANAGER_TOKEN }}

gettext:
name: Gettext
runs-on: ubuntu-latest
container:
image: ghcr.io/elementary/flatpak-platform/runtime:7.2-x86_64
options: --privileged

steps:
- name: Install git, python3-git and jq
run: |
apt-get update
apt-get install git jq python3-git -y
- name: Clone repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GIT_USER_TOKEN }}

- name: Configure Git
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Update Translation Files
uses: elementary/actions/gettext-flatpak@main
with:
manifest-path: 'io.elementary.iconbrowser.yml'
env:
GIT_USER_NAME: "elementaryBot"
GIT_USER_EMAIL: "[email protected]"

0 comments on commit ed39a26

Please sign in to comment.