From fc08f7500c77bd7a4e8eb818b9d844464974da63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Sat, 11 Feb 2023 09:23:33 -0800 Subject: [PATCH] Update gettext.yml --- .github/workflows/gettext.yml | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) 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"