Skip to content

Commit 284a519

Browse files
authored
Merge pull request #4 from erickisos/erickisos-patch-1
Update pospell-on-demand.yml
2 parents 4660c60 + ecc94e1 commit 284a519

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,19 @@ jobs:
1818
-X POST \
1919
-d '{"content":"+1"}' \
2020
-H "Accept: application/vnd.github.squirrel-girl-preview+json" \
21-
-H "Authorization: token ${{github.token}}"
21+
-H "Authorization: token ${{ secrets.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
29-
run: |
30-
sudo apt-get update
31-
sudo apt-get install -y hunspell hunspell-es gettext
32-
python -m pip install -r requirements.txt
33+
run: python -m pip install -r requirements.txt
3334
- name: Ejecutar Powrap
3435
run: powrap --quiet **/*.po
3536
- name: Revisar con Pospell

0 commit comments

Comments
 (0)