Skip to content

Capture outer scope variable in lambda for licenseContent function #37

Capture outer scope variable in lambda for licenseContent function

Capture outer scope variable in lambda for licenseContent function #37

Workflow file for this run

name: Documentation
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
pages: write
id-token: write
jobs:
documentation:
name: Generate Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y doxygen graphviz
- name: Generate documentation
run: ./bin/build.pl --doc
- name: Set Artifact Name
id: artifact-name
run: |
echo "artifact_name=${{ github.run_id }}[${{ github.run_attempt }}]--docs-artifacts" \
| tee -a $GITHUB_OUTPUT
- name: Upload Pages Artifacts
uses: actions/upload-pages-artifact@v4
with:
name: ${{ steps.artifact-name.outputs.artifact_name }}
path: docs/html
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
with:
artifact_name: ${{ steps.artifact-name.outputs.artifact_name }}