mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 20:49:49 +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:
14
.github/workflows/docs.yml
vendored
14
.github/workflows/docs.yml
vendored
@@ -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' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user