6
0

Use apt instead

This commit is contained in:
Jon Michael Aanes 2024-03-30 14:52:51 +01:00
parent d5a5718df1
commit 04151bfeba
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -1,8 +1,5 @@
name: Python Package
env:
PYTHON_VERSION: 3.11
on:
workflow_call:
inputs:
@ -19,9 +16,9 @@ jobs:
image: node:21-bookworm
steps:
- name: Setting up Python ${{ env.PYTHON_VERSION }} for ${{runner.arch}} ${{runner.os}}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- run: |
apt-get update
apt-get install -y python3 python3-pip
- name: Installing Python Dependencies
run: python3 -m pip install --upgrade pip setuptools wheel build twine pytest
- name: Check out repository code
@ -37,9 +34,9 @@ jobs:
needs: [test]
steps:
- name: Setting up Python ${{ env.PYTHON_VERSION }} for ${{runner.arch}} ${{runner.os}}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- run: |
apt-get update
apt-get install -y python3 python3-pip
- name: Installing Python Dependencies
run: python3 -m pip install --upgrade pip setuptools wheel build twine pytest
- name: Check out repository code