mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
switch to uv for github workflow to improve workflow time
This commit is contained in:
+10
-18
@@ -44,30 +44,22 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: ${{ env.PYTHON_VERSION }}
|
python-version: ${{ env.PYTHON_VERSION }}
|
||||||
|
|
||||||
- name: Install system dependencies (Linux)
|
- name: Install uv
|
||||||
if: runner.os == 'Linux'
|
uses: astral-sh/setup-uv@v7
|
||||||
run: |
|
with:
|
||||||
sudo apt-get update
|
version: "0.9.7"
|
||||||
sudo apt-get install -y \
|
enable-cache: true
|
||||||
libxcb-xinerama0 \
|
|
||||||
libxkbcommon-x11-0 \
|
|
||||||
libxcb-cursor0 \
|
|
||||||
libxcb-keysyms1 \
|
|
||||||
libxcb-render-util0 \
|
|
||||||
libxcb-icccm4 \
|
|
||||||
libxcb-image0 \
|
|
||||||
libxcb-shape0 \
|
|
||||||
libxcb-util1
|
|
||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
uv pip install -r requirements.txt
|
||||||
pip install -r requirements.txt
|
uv pip install pyinstaller backports.tarfile pillow
|
||||||
pip install pyinstaller backports.tarfile pillow
|
env:
|
||||||
|
UV_SYSTEM_PYTHON: 1
|
||||||
|
|
||||||
- name: Generate version
|
- name: Generate version
|
||||||
id: version
|
id: version
|
||||||
|
|||||||
Reference in New Issue
Block a user