Skip to content

Commit 1f6c82f

Browse files
committed
add cache apt action
1 parent c6cd5c9 commit 1f6c82f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/pospell-on-demand.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,17 @@ jobs:
2020
-H "Accept: application/vnd.github.squirrel-girl-preview+json" \
2121
-H "Authorization: token ${{github.token}}"
2222
- uses: actions/checkout@v3
23+
- uses: awalsh128/cache-apt-pkgs-action@latest
24+
with:
25+
packages: hunspell hunspell-es gettext
26+
version: 1.0
2327
- name: Preparar Python v3.10
2428
uses: actions/setup-python@v4
2529
with:
2630
python-version: "3.10"
2731
cache: "pip"
2832
- name: Instalar dependencias
2933
run: |
30-
sudo apt-get update
31-
sudo apt-get install -y hunspell hunspell-es gettext
3234
python -m pip install -r requirements.txt
3335
- name: Ejecutar Powrap
3436
run: powrap --quiet **/*.po

0 commit comments

Comments
 (0)