1
mirror of https://github.com/flipperdevices/flipperzero-firmware.git synced 2025-12-12 12:51:22 +04:00

Github: update doxygen workflow to use exact version (#4065)

* Github: update doxygen workflow to use exact version
* Github: inject DOXY_CONFIG_DIR into doxygen execution env
* Github: use fbt to build doxygen docs
This commit is contained in:
あく
2025-01-10 20:03:47 +09:00
committed by GitHub
parent 5efdab863b
commit 35c1bfc057

View File

@@ -55,15 +55,13 @@ jobs:
fi fi
python3 scripts/get_env.py "--event_file=${{ github.event_path }}" "--type=$TYPE" python3 scripts/get_env.py "--event_file=${{ github.event_path }}" "--type=$TYPE"
- name: 'Generate documentation' - name: install-doxygen
uses: mattnotmitt/doxygen-action@1.12.0 uses: AdarshRawat1/Install-Doxygen@v1.0
env:
DOXY_SRC_ROOT: "${{ github.workspace }}"
DOXY_CONFIG_DIR: "${{ github.workspace }}/documentation/doxygen"
DOXY_OUTPUT_DIR: "${{ github.workspace }}/documentation/doxygen/build"
with: with:
working-directory: 'documentation/' version: "1.12.0"
doxyfile-path: './doxygen/Doxyfile-awesome.cfg'
- name: 'Generate documentation'
run: ./fbt doxygen
- name: 'Upload documentation' - name: 'Upload documentation'
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/dev' && needs.check-secret.outputs.s3-valid-config == 'true' }} if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/dev' && needs.check-secret.outputs.s3-valid-config == 'true' }}