Files
MINGW-packages/mingw-w64-python/0122-Use-actions-setup-python-for-setting-up-correct-vers.patch
Christoph Reiter a703df8afe python: Update to 3.10.11
Fixes #16670
2023-04-07 18:10:55 +02:00

36 lines
1.1 KiB
Diff

From 9fb5a4df1e9d524666c8b8804d1beb6341a74d79 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: |