diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 9cc890efe..51293735a 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -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: "builds@elementary.io"