💚(crowdin) fix upload job

Since the switch to `uv` we should not use pip.
This commit is contained in:
Quentin BEY
2026-02-10 15:01:50 +01:00
parent 7804583632
commit 59f9f54b34

View File

@@ -22,14 +22,14 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
# Backend i18n # Backend i18n
- name: Install Python - name: Set up Python
uses: actions/setup-python@v3 uses: actions/setup-python@v6
with: with:
python-version: '3.13' python-version-file: "src/backend/pyproject.toml"
- name: Upgrade pip and setuptools - name: Install uv
run: pip install --upgrade pip setuptools uses: astral-sh/setup-uv@v6
- name: Install development dependencies - name: Install the project
run: pip install --user . run: uv sync --locked --all-extras
working-directory: src/backend working-directory: src/backend
- name: Restore the mail templates - name: Restore the mail templates
uses: actions/cache@v4 uses: actions/cache@v4
@@ -45,7 +45,7 @@ jobs:
- name: generate pot files - name: generate pot files
working-directory: src/backend working-directory: src/backend
run: | run: |
DJANGO_CONFIGURATION=Build python manage.py makemessages -a --keep-pot DJANGO_CONFIGURATION=Build uv run python manage.py makemessages -a --keep-pot
# frontend i18n # frontend i18n
- name: Restore the frontend cache - name: Restore the frontend cache
uses: actions/cache@v4 uses: actions/cache@v4