Bump actions/setup-python from 5 to 6 (#1784) #529
This file contains hidden or 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: API Doc & Wiki Build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - '.azure/**' | |
| - '.circleci/**' | |
| - '.github/workflows/rendering-regression.yml' | |
| - '.github/workflows/linux.yml' | |
| - '.github/workflows/ios.yml' | |
| - '.github/workflows/sonarcloud.yml' | |
| - '.github/workflows/windows.yml' | |
| - '.cirrus.yml' | |
| - 'README.md' | |
| workflow_dispatch: | |
| env: | |
| BUILD_TYPE: Release | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Update Dependencies | |
| run: sudo apt-get update | |
| - name: Install Dependencies | |
| run: sudo apt-get install doxygen xsltproc | |
| - name: Create Build Environment | |
| run: cmake -E make_directory ${{runner.workspace}}/build | |
| - name: Configure CMake | |
| shell: bash | |
| working-directory: ${{runner.workspace}}/build | |
| run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE | |
| - name: Build | |
| shell: bash | |
| working-directory: ${{runner.workspace}}/build | |
| run: cmake --build . --config $BUILD_TYPE --target doxygen | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install zensical | |
| run: pip install zensical | |
| - name: Build | |
| run: zensical build --clean | |
| - name: Publish Wiki to GH Pages Repo | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| folder: ${{runner.workspace}}/fluidsynth/.zensical/wiki/ | |
| repository-name: FluidSynth/fluidsynth.github.io | |
| branch: main | |
| ssh-key: ${{ secrets.DEPLOY_API_TOKEN }} | |
| target-folder: wiki/ | |
| clean: true | |
| commit-message: Updating wiki from fluidsynth master | |
| git-config-name: Zensical Deploy | |
| git-config-email: fluid-wiki-deploy@fluidsynth.github.io | |
| - name: Publish API Docs to GH Pages | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| folder: ${{runner.workspace}}/build/doc/api/html/ | |
| repository-name: FluidSynth/fluidsynth.github.io | |
| branch: main | |
| target-folder: api/ | |
| ssh-key: ${{ secrets.DEPLOY_API_TOKEN }} | |
| clean: true | |
| commit-message: Updating API doc from fluidsynth master | |
| git-config-name: API Doc Deploy | |
| git-config-email: fluid-api-deploy@fluidsynth.github.io |