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 26654fb commit 7fcedf6
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,30 @@ on:
jobs:
gettext:
name: Gettext
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
container:
image: ghcr.io/elementary/docker:next-unstable
image: ghcr.io/elementary/flatpak-platform/runtime:7.2-x86_64
options: --privileged

steps:
- name: Install git
- name: Install git, python3-git and jq
run: |
apt-get update
apt-get install git -y
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-template@next
uses: elementary/actions/gettext-flatpak@main
with:
manifest-path: 'io.elementary.music.yml'
env:
GIT_USER_TOKEN: ${{ secrets.GIT_USER_TOKEN }}
GIT_USER_NAME: "elementaryBot"
GIT_USER_EMAIL: "[email protected]"

Expand Down

0 comments on commit 7fcedf6

Please sign in to comment.