Update docs.yaml (#722)

Fix build with latest GithubActions.
This commit is contained in:
Ihor Dutchak
2025-03-02 21:42:01 +02:00
committed by GitHub
parent 2446b2a8ef
commit 424d63fb29

View File

@@ -8,11 +8,11 @@ on:
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Install Doxygen static libclang deps
run: sudo apt-get install libclang1-12 libclang-cpp12
run: sudo apt-get install libclang1-18 libclang-cpp18
- name: Install Doxygen from SF binary archives
env:
@@ -25,7 +25,7 @@ jobs:
cd doxygen-$DOXYGEN_VERSION
sudo make install
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: doxygen
working-directory: doxygen
@@ -37,7 +37,7 @@ jobs:
path: ${{ github.workspace }}/doxygen/html
deploy-docs:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [build]
if: github.ref_type == 'branch' && github.ref_name == 'master'
concurrency:
@@ -51,7 +51,7 @@ jobs:
path: docs
- name: upload to github pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs