From dade1ce20dccb14cb12e70dde4a1748668d1f98b Mon Sep 17 00:00:00 2001 From: Juhani Numminen Date: Thu, 12 Aug 2021 14:20:19 +0300 Subject: [PATCH] macOS: Get python from python.org to avoid grahical issues --- .github/workflows/macos-package.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/macos-package.yml b/.github/workflows/macos-package.yml index f0bacbad..b154d3be 100644 --- a/.github/workflows/macos-package.yml +++ b/.github/workflows/macos-package.yml @@ -11,10 +11,14 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.x' + - name: Set up python + env: + PYVER: '3.9.6' + PYVER_SHORT: '3.9' + run: | + wget -O python.pkg "https://www.python.org/ftp/python/${PYVER}/python-${PYVER}-macosx10.9.pkg" + sudo installer -pkg python.pkg -target / + echo "/Library/Frameworks/Python.framework/Versions/${PYVER_SHORT}/bin" >> $GITHUB_PATH - name: Install dependencies run: | python -m pip install --upgrade pip