diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ab32197..31affa0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -92,8 +92,8 @@ jobs: - name: Add plugin run: calibre-customize -a worddumb.zip - - name: Get calibre python version - run: echo "CALIBRE_PY=$(calibre-debug -c 'import platform; print(".".join(platform.python_version_tuple()[:2]))')" >> $GITHUB_ENV + - name: Get python version + run: echo "CALIBRE_PY=$(python3 -c 'import platform; print(".".join(platform.python_version_tuple()[:2]))')" >> $GITHUB_ENV - name: Restore dependencies and Wikipedia cache uses: actions/cache@v2 diff --git a/README.md b/README.md index ec02aa9..2fa042d 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Please read [CONTRIBUTING](./docs/CONTRIBUTING.md). - macOS ``` - // install from HomeBrew(recommanded) + // install from Homebrew(recommanded) $ brew install python // or install Apple Command Line Tools