37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
From 20616d4f465d8649a0e73c84d3e7587162da3d2d Mon Sep 17 00:00:00 2001
|
|
From: Naveen M K <naveen521kk@gmail.com>
|
|
Date: Fri, 21 Jan 2022 19:25:44 +0530
|
|
Subject: [PATCH 125/N] Use actions/setup-python for setting up correct
|
|
version in cross build
|
|
|
|
Fixes https://github.com/msys2-contrib/cpython-mingw/issues/67
|
|
---
|
|
.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..ffd6ecb 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.9'
|
|
+
|
|
+ - name: Check Python Version
|
|
+ run: |
|
|
+ which python
|
|
+ python --version
|
|
|
|
- name: Build
|
|
run: |
|
|
--
|
|
2.34.1
|
|
|