Fixed procedures for OpenSCAP in Administration Guide. (#5159) #3907
This file contains hidden or 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 | |
| - 'manager-5.2' | |
| # Future: uncomment when backports are ready | |
| # - 'manager-5.1' | |
| # - 'manager-5.0' | |
| # - 'manager-4.3' | |
| jobs: | |
| run: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/uyuni-project/uyuni-docs-builder:latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v4 | |
| - name: Build toolchain binary and generate configs | |
| run: task setup && task gen | |
| # ── Uyuni translated PDFs (master only) ────────────────────────────────── | |
| - name: Build Uyuni PDFs (ja, ko, zh_CN) | |
| run: task pdf:uyuni LANGUAGES="ja ko zh_CN" | |
| if: github.ref_name == 'master' || github.ref_name == 'manager-5.2' | |
| - name: Collect Uyuni PDFs (ja, ko, zh_CN) | |
| run: task pdf-collect:uyuni LANGUAGES="ja ko zh_CN" | |
| if: github.ref_name == 'master' || github.ref_name == 'manager-5.2' | |
| - name: Upload Uyuni translated PDFs | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1 | |
| with: | |
| name: uyuni-pdf-translations-${{ github.ref_name }} | |
| path: build/pdf/ | |
| retention-days: 7 | |
| if: github.ref_name == 'master' || github.ref_name == 'manager-5.2' | |
| # ── MLM translated PDFs (master only) ──────────────────────────────────── | |
| - name: Build MLM PDFs (ja, ko, zh_CN) | |
| run: task pdf:mlm LANGUAGES="ja ko zh_CN" | |
| if: github.ref_name == 'master' || github.ref_name == 'manager-5.2' | |
| - name: Collect MLM PDFs (ja, ko, zh_CN) | |
| run: task pdf-collect:mlm LANGUAGES="ja ko zh_CN" | |
| if: github.ref_name == 'master' || github.ref_name == 'manager-5.2' | |
| - name: Upload MLM translated PDFs | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1 | |
| with: | |
| name: mlm-pdf-translations-${{ github.ref_name }} | |
| path: build/pdf/ | |
| retention-days: 7 | |
| if: github.ref_name == 'master' || github.ref_name == 'manager-5.2' |