Files
MINGW-packages/mingw-w64-python/0122-Use-actions-setup-python-for-setting-up-correct-vers.patch
Christoph Reiter 4177c0198b python: Update to 3.10.8
See https://github.com/msys2-contrib/cpython-mingw/pull/110

update-patches: remove git version signature to keep the diff smaller
2022-10-15 15:57:24 +02:00

36 lines
1.1 KiB
Diff

From e52e780c2843065a6c1b96aa45c6cbce082f2072 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 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: |