From 382c1b9b83d86174b8ae74d1a5e3e6915700c956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Fri, 13 Oct 2023 10:07:03 -0700 Subject: [PATCH] Update gettext.yml --- .github/workflows/gettext.yml | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) 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"