From 180dd52eeeda00c8948ac57a775f50cc8138598b Mon Sep 17 00:00:00 2001 From: Roddy Munro Date: Thu, 4 Apr 2024 21:27:15 -0300 Subject: [PATCH 1/2] Set explicit SwiftPolyglot tag and update clone path --- .github/workflows/xcstrings.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/xcstrings.yml b/.github/workflows/xcstrings.yml index 404fe31..8d79439 100644 --- a/.github/workflows/xcstrings.yml +++ b/.github/workflows/xcstrings.yml @@ -14,9 +14,9 @@ jobs: - uses: actions/checkout@v4 - name: Clone SwiftPolyglot - run: git clone https://github.com/appdecostudio/SwiftPolyglot.git + run: git clone https://github.com/appdecostudio/SwiftPolyglot.git --branch 0.3.1 ../SwiftPolyglot - name: validate translations run: | - swift build --package-path ./SwiftPolyglot --configuration release - swift run --package-path ./SwiftPolyglot swiftpolyglot "ca,de,el,es,fi,fr,hi,it,ja,ko,nl,pl,pt-BR,ru,tr,uk,zh-Hans,zh-Hant" --errorOnMissing + swift build --package-path ../SwiftPolyglot --configuration release + swift run --package-path ../SwiftPolyglot swiftpolyglot "ca,de,el,es,fi,fr,hi,it,ja,ko,nl,pl,pt-BR,ru,tr,uk,zh-Hans,zh-Hant" --errorOnMissing From cd80053be67fc89c8f3a62471303301b7c4932d8 Mon Sep 17 00:00:00 2001 From: Roddy Munro Date: Thu, 9 May 2024 19:03:56 -0300 Subject: [PATCH 2/2] Move branch argument before url --- .github/workflows/xcstrings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xcstrings.yml b/.github/workflows/xcstrings.yml index 8d79439..19404e6 100644 --- a/.github/workflows/xcstrings.yml +++ b/.github/workflows/xcstrings.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - name: Clone SwiftPolyglot - run: git clone https://github.com/appdecostudio/SwiftPolyglot.git --branch 0.3.1 ../SwiftPolyglot + run: git clone --branch 0.3.1 -- https://github.com/appdecostudio/SwiftPolyglot.git ../SwiftPolyglot - name: validate translations run: |