diff --git a/.github/workflows/gettext.yml b/.github/workflows/gettext.yml index eed24ae2..ef0219ac 100644 --- a/.github/workflows/gettext.yml +++ b/.github/workflows/gettext.yml @@ -1,14 +1,29 @@ -name: Gettext updates +name: Gettext Updates + on: push: branches: master + jobs: - gettext_template: - runs-on: ubuntu-latest + build: + runs-on: ubuntu-22.04 + container: + image: elementary/docker:next-unstable + steps: - - uses: actions/checkout@v1 - - uses: elementary/actions/gettext-template@master + - name: Install git + run: | + apt-get update + apt-get install git -y + + - name: Clone repository + uses: actions/checkout@v3 + 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"