From 741eb57d3cefa35fa5f8fb34697a24955a4872e9 Mon Sep 17 00:00:00 2001 From: Naveen M K Date: Fri, 21 Jan 2022 19:25:44 +0530 Subject: [PATCH 122/N] Use actions/setup-python for setting up correct version in cross build Fixes https://github.com/msys2-contrib/cpython-mingw/issues/67 (Updated for python 3.10) --- .github/workflows/mingw.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index 122ac03..7170818 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -162,7 +162,16 @@ jobs: - name: Install deps run: | pacman --noconfirm -Suuy - pacman --needed --noconfirm -S mingw-w64-gcc autoconf-archive autoconf automake python zip + pacman --needed --noconfirm -S mingw-w64-gcc autoconf-archive autoconf automake zip + + - uses: actions/setup-python@v2 + with: + python-version: '3.10' + + - name: Check Python Version + run: | + which python + python --version - name: Build run: | -- 2.36.1