This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test PDF translations (ja, ko, zh_CN) | |
on: | |
push: | |
branches: | |
- master # Only master will build both Uyuni and SUSE Multi-Linux Manager documentations | |
- manager-4.3 # Other branches will only build SUSE Multi-Linux Manager documentation | |
- manager-5.0 # Other branches will only build SUSE Multi-Linux Manager documentation | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout this repository | |
uses: actions/checkout@v4 | |
with: | |
path: uyuni-docs | |
- name: Checkout uyuni-docs-helper repository | |
uses: actions/checkout@v4 | |
with: | |
path: uyuni-docs-helper | |
repository: uyuni-project/uyuni-docs-helper | |
- name: Configure environment | |
run: | | |
alias docker='podman' | |
mkdir outputs | |
- name: Build the Uyuni PDFs in Japanese | |
run: | | |
cd uyuni-docs-helper | |
./uyuni-docs-helper -r ${{ github.ref_name }} -o /tmp -c pdf-all-uyuni-ja -p uyuni | |
if: github.ref_name == 'master' | |
- name: Build the SUSE Multi-Linux Manager PDFs in Japanese | |
run: | | |
cd uyuni-docs-helper | |
./uyuni-docs-helper -r ${{ github.ref_name }} -o /tmp -c pdf-all-mlm-ja -p mlm | |
- name: Build the Uyuni PDFs in Korean | |
run: | | |
cd uyuni-docs-helper | |
./uyuni-docs-helper -r ${{ github.ref_name }} -o /tmp -c pdf-all-uyuni-ko -p uyuni | |
if: github.ref_name == 'master' | |
- name: Build the SUSE Multi-Linux Manager PDFs in Korean | |
run: | | |
cd uyuni-docs-helper | |
./uyuni-docs-helper -r ${{ github.ref_name }} -o /tmp -c pdf-all-mlm-ko -p mlm | |
- name: Build the Uyuni PDFs in Chinese, Simplified | |
run: | | |
cd uyuni-docs-helper | |
./uyuni-docs-helper -r ${{ github.ref_name }} -o /tmp -c pdf-all-uyuni-zh_CN -p uyuni | |
if: github.ref_name == 'master' | |
- name: Build the SUSE Multi-Linux Manager PDFs in Chinese, Simplified | |
run: | | |
cd uyuni-docs-helper | |
./uyuni-docs-helper -r ${{ github.ref_name }} -o /tmp -c pdf-all-mlm-zh_CN -p mlm |