From aca5d177bf2c2c25835c6c5cf8506a5a8ed21eb1 Mon Sep 17 00:00:00 2001 From: evandrocoan Date: Sat, 25 Apr 2020 04:30:01 -0300 Subject: [PATCH] Fix macos not find gettex, msgfmt: command not found https://github.com/ankitects/anki/runs/617116053?check_suite_focus=true#step:27:1244 Compiling *.po... ./scripts/build-mo-files: line 18: msgfmt: command not found ./scripts/build-mo-files: line 18: msgmerge: command not found --- .github/workflows/checks.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 221803852..0994f4b81 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -64,6 +64,9 @@ jobs: # https://stackoverflow.com/questions/43175529/updating-make-version-4-1-on-mac echo "::set-env name=PATH::/usr/local/opt/make/libexec/gnubin:$PATH" + # https://stackoverflow.com/questions/59644349/msgmerge-on-macos-catalina + echo "::set-env name=PATH::/usr/local/opt/gettext/bin:$PATH" + - name: Configure Windows environment variables if: matrix.os == 'windows-latest' run: | @@ -213,7 +216,6 @@ jobs: run: | set -x brew install portaudio protobuf gettext ripgrep make - brew link gettext --force - name: Set up python uses: actions/setup-python@v1