diff --git a/.github/workflows/gettext.yml b/.github/workflows/gettext.yml index ee7380bf..628e3f6f 100644 --- a/.github/workflows/gettext.yml +++ b/.github/workflows/gettext.yml @@ -1,14 +1,29 @@ name: Gettext Updates + on: push: branches: [main] + jobs: - gettext_template: - runs-on: ubuntu-22.04 + build: + runs-on: ubuntu-latest + container: + image: ghcr.io/elementary/docker:next-unstable + steps: - - uses: actions/checkout@v4 - - uses: elementary/actions/gettext-template@horus + - name: Install git + run: | + apt-get update + apt-get install git -y + + - name: Clone repository + uses: actions/checkout@v4 + with: + token: ${{ secrets.GIT_USER_TOKEN }} + + - name: Update Translation Files + uses: elementary/actions/gettext-template@next env: - GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}" + GIT_USER_TOKEN: ${{ secrets.GIT_USER_TOKEN }} GIT_USER_NAME: "elementaryBot" GIT_USER_EMAIL: "builds@elementary.io"