Skip to content

WIP: Test improve caching #13

WIP: Test improve caching

WIP: Test improve caching #13

Workflow file for this run

name: Makemessages
on:
workflow_dispatch:
jobs:
makemessages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install APT Dependencies
run: sudo apt-get install gettext
- name: Install Python Dependencies
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: "pip"
cache-dependency-path: 'requirements*.txt'
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Make messages cs
run: |
source venv/bin/activate
cd svjis
python manage.py makemessages -l cs
python manage.py compilemessages
- name: Archive messages cs
uses: actions/upload-artifact@v4
with:
name: Messages cs
path: svjis/articles/locale/cs/*
- name: Make messages en
run: |
source venv/bin/activate
cd svjis
python manage.py makemessages -l en
python manage.py compilemessages
- name: Archive messages en
uses: actions/upload-artifact@v4
with:
name: Messages en
path: svjis/articles/locale/en/*