mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-03-12 20:59:59 -04:00
Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 5 to 6 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
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@v6
|
|
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
|