mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +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
|
||||
python3 scripts/get_env.py "--event_file=${{ github.event_path }}" "--type=$TYPE"
|
||||
|
||||
- name: 'Generate documentation'
|
||||
uses: mattnotmitt/doxygen-action@1.12.0
|
||||
env:
|
||||
DOXY_SRC_ROOT: "${{ github.workspace }}"
|
||||
DOXY_CONFIG_DIR: "${{ github.workspace }}/documentation/doxygen"
|
||||
DOXY_OUTPUT_DIR: "${{ github.workspace }}/documentation/doxygen/build"
|
||||
- name: install-doxygen
|
||||
uses: AdarshRawat1/Install-Doxygen@v1.0
|
||||
with:
|
||||
working-directory: 'documentation/'
|
||||
doxyfile-path: './doxygen/Doxyfile-awesome.cfg'
|
||||
version: "1.12.0"
|
||||
|
||||
- name: 'Generate documentation'
|
||||
run: ./fbt doxygen
|
||||
|
||||
- name: 'Upload documentation'
|
||||
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