File I/O: Fix empty username after deleting saves (#134) #397
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: Pages (doxygen) | |
on: | |
[push, workflow_dispatch] | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
# Allow only one concurrent deployment, skipping runs queued between the run in-progress | |
# and latest queued. However, do NOT cancel in-progress runs as we want to allow these | |
# production deployments to complete. | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# Because ubuntu doxygen is currently outdated (v1.9 instead of v1.10) | |
- name: Install doxygen and graphviz via Chocolatey | |
run: | | |
choco install doxygen.portable graphviz --yes -r --no-progress | |
- name: Build documentation for every branch | |
shell: bash | |
run: | | |
mkdir docs-output | |
branches="`git branch -lr | cut -c 10- | cut -d ' ' -f 1 | grep -v HEAD`" | |
for branch in $branches | |
do | |
echo $branch | |
git checkout $branch | |
make clean | |
make docs | |
mv html docs-output/$branch | |
done | |
mv docs-output/main html | |
mv docs-output html/other-branches | |
- name: Upload pages artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: 'html/' | |
- name: Setup Pages | |
uses: actions/configure-pages@v5 | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |