Skip to content

Commit

Permalink
[ci] Fix documentation nightly doc builds
Browse files Browse the repository at this point in the history
the boolean to decide whether the ROOT build is incremental had
to be set.
  • Loading branch information
dpiparo committed Jan 10, 2025
1 parent 45d37b3 commit 0c156ed
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/root-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: 'ROOT Docs'
on:
schedule:
- cron: '0 1 * * *'
- cron: '0 12 * * *'

workflow_dispatch:
inputs:
Expand Down Expand Up @@ -99,16 +100,27 @@ jobs:
done
cat "$CONFIGFILE" || true
- name: Build ROOT
- name: Build ROOT - Workflow Dispatch
if: github.event_name == 'workflow_dispatch'
run: ".github/workflows/root-ci-config/build_root.py
--buildtype Release
--platform ${{ env.PLATFORM }}
--incremental ${{ inputs.incremental }}
--base_ref ${BASE_REF}
--head_ref ${BASE_REF}
--binaries false
--repository ${{ github.server_url }}/${{ github.repository }}
"
--repository ${{ github.server_url }}/${{ github.repository }}"

- name: Build ROOT - Schedule
if: github.event_name == 'schedule'
run: ".github/workflows/root-ci-config/build_root.py
--buildtype Release
--platform ${{ env.PLATFORM }}
--incremental false
--base_ref ${BASE_REF}
--head_ref ${BASE_REF}
--binaries false
--repository ${{ github.server_url }}/${{ github.repository }}"

- name: Run Doxygen
working-directory: ${{ env.DOC_LOCATION }}
Expand All @@ -132,7 +144,7 @@ jobs:
gzip ${TAR_NAME}
ls -l
#Upload to GitHub as an artifact (optional)
#Upload to GitHub as an artifact
- name: Upload tar file for GH
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 0c156ed

Please sign in to comment.