Use apt instead
This commit is contained in:
parent
d5a5718df1
commit
04151bfeba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user