From d8ba95b14b7b182e10cd1e94191662db49af5af3 Mon Sep 17 00:00:00 2001 From: sapics Date: Thu, 11 Jun 2020 20:39:41 +0900 Subject: [PATCH] build: fix python-version selection in actions Refs: https://github.com/actions/setup-python --- .github/workflows/build-tarball.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-tarball.yml b/.github/workflows/build-tarball.yml index 3a3138a677b1d6..98af4e93aef50a 100644 --- a/.github/workflows/build-tarball.yml +++ b/.github/workflows/build-tarball.yml @@ -109,6 +109,8 @@ jobs: set DEBUG_HELPER=1 ./vcbuild.bat release noprojgen nobuild ignore-flaky test-ci-native test-tarball-macOS: + env: + PYTHON_VERSION: 3.8 needs: build-tarball runs-on: macos-latest steps: @@ -116,7 +118,7 @@ jobs: - name: Set up Python ${{ env.PYTHON_VERSION }} uses: actions/setup-python@v1 with: - PYTHON_VERSION: ${{ env.PYTHON_VERSION }} + python-version: ${{ env.PYTHON_VERSION }} - name: Environment Information run: npx envinfo - name: Download tarball