changing Debian container to python3.12

This commit is contained in:
2025-08-25 12:39:31 -05:00
committed by Jason Ross
parent b9e13ec5e3
commit 8fed7d5243
+7 -7
View File
@@ -39,7 +39,7 @@ jobs:
build-debian:
runs-on: ubuntu-latest
container:
image: debian:12-slim
image: python:3.12-slim
steps:
- name: Install system dependencies
run: |
@@ -56,7 +56,7 @@ jobs:
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3.12 -
curl -sSL https://install.python-poetry.org | python -
echo 'export PATH="$HOME/.local/bin:$PATH"' >> $GITHUB_ENV
- name: Configure Poetry
@@ -68,7 +68,7 @@ jobs:
- name: Install dependencies
run: |
export PATH="$HOME/.local/bin:$PATH"
poetry env use python3.12
poetry env use python3.12 || true
poetry install
- name: Build Debian executable
@@ -90,7 +90,7 @@ jobs:
- name: Install system dependencies
run: |
pacman -Syu --noconfirm
pacman -S --noconfirm git base-devel curl
pacman -S --noconfirm python python-pip curl git base-devel
- name: Checkout code
uses: actions/checkout@v4
@@ -135,7 +135,7 @@ jobs:
- name: Install system dependencies
run: |
dnf update -y
dnf install -y git gcc gcc-c++ make
dnf install -y curl git gcc gcc-c++ make
- name: Checkout code
uses: actions/checkout@v4
@@ -147,7 +147,7 @@ jobs:
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3.12 -
curl -sSL https://install.python-poetry.org | python -
echo 'export PATH="$HOME/.local/bin:$PATH"' >> $GITHUB_ENV
- name: Configure Poetry
@@ -159,7 +159,7 @@ jobs:
- name: Install dependencies
run: |
export PATH="$HOME/.local/bin:$PATH"
poetry env use python3.12
poetry env use python3.12 || true
poetry install
- name: Build Rocky executable