Skip to content

PdfFont: Added GetSpaceCharLength() #57

PdfFont: Added GetSpaceCharLength()

PdfFont: Added GetSpaceCharLength() #57

name: build-documentation
on:
push:
branches: [ master ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
env:
BUILD_TYPE: Release
jobs:
build-and-deploy:
runs-on: ubuntu-latest
# env:
# GIT_AUTHOR_NAME: github-actions[bot]
# GIT_AUTHOR_EMAIL: github-actions[bot]@users.noreply.github.com
# GIT_COMMITTER_NAME: github-actions[bot]
# GIT_COMMITTER_EMAIL: github-actions[bot]@users.noreply.github.com
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install Doxygen
run: |
sudo apt-get update
sudo apt-get install -y doxygen
- name: Configure CMake
run: cmake -B "${{github.workspace}}/build" -DPODOFO_BUILD_DOC_ONLY=True
- name: Generate Doxygen Documentation
run: doxygen "${{github.workspace}}/build/Doxyfile"
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: "${{github.workspace}}/build/doxygen"
deploy:
needs: build-and-deploy
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2