-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
39 lines (34 loc) · 1.08 KB
/
Copy pathtranslations.yml
File metadata and controls
39 lines (34 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Transifex
on:
push:
branches: [master, ]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
Push-To-Transifex:
name: Update translations on Transifex
if: github.repository == 'kovidgoyal/calibre'
runs-on: ubuntu-latest
container:
image: 'archlinux/archlinux:latest'
env:
CI: 'true'
steps:
- name: Setup container
run: |
pacman -Syu --noconfirm
pacman -S --noconfirm tar
- name: Checkout source code
uses: actions/checkout@v7.0.1
with:
fetch-depth: 2
persist-credentials: false
- name: Install calibre dependencies
run: setup/arch-ci.sh
- name: Bootstrap calibre
run: runuser -u ci -- python setup.py bootstrap --ephemeral
- name: Update translations
env:
tx: ${{ secrets.tx }}
run: |
runuser -u ci -- python setup/unix-ci.py pot