From 11d06c3d15613963b6a057393a316794b228438b Mon Sep 17 00:00:00 2001 From: Naveen M K Date: Fri, 21 Jan 2022 19:25:44 +0530 Subject: [PATCH 123/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) Signed-off-by: Naveen M K --- .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 eb27adc..781b933 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.34.1