rcore-os / rCore-Tutorial-Book-v3

A book about how to write OS kernels in Rust easily.
https://rcore-os.github.io/rCore-Tutorial-Book-v3/
GNU General Public License v3.0
1.13k stars 206 forks source link

feat(ci): add GitHub Actions workflow for PDF generation #205

Open jiangshengdev opened 4 months ago

jiangshengdev commented 4 months ago

Introduced a new GitHub Action workflow generate-pdf.yml to automate the generation and release of tutorial PDFs upon pushes or pull requests to the main branch.

Key Changes:

Added .github/workflows/generate-pdf.yml with 71 additions. Workflow steps include code checkout, environment setup, patch application, PDF generation, and PDF upload to artifacts and releases. Purpose:

Automates documentation PDF creation, enhancing accessibility and ensuring the latest version is always available.

Note:

Please review and adjust commands and paths as necessary for your project. Test the workflow on a branch to ensure proper operation and PDF quality.