summaryrefslogtreecommitdiffstats
path: root/.github/workflows/daily-build.yml
blob: 87ea15a2eaf7fdf67a621deb61fe27e9d2d650c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: hdf5 1.10 daily build

# Controls when the action will run. Triggers the workflow on a schedule
on:
  workflow_dispatch:
  schedule:
    - cron: "10 0 * * *"

# A workflow run is made up of one or more jobs that can run sequentially or
# in parallel.
jobs:
  call-workflow-tarball:
    uses: ./.github/workflows/tarball.yml

  call-workflow-ctest:
    needs: call-workflow-tarball
    uses: ./.github/workflows/cmake-ctest.yml
    with:
      file_base: ${{ needs.call-workflow-tarball.outputs.file_base }}
    if: ${{ needs.call-workflow-tarball.outputs.has_changes == 'true' }}

  call-workflow-release:
    needs: call-workflow-ctest
    uses: ./.github/workflows/release.yml
    with:
      file_base: ${{ needs.call-workflow-tarball.outputs.file_base }}
    if: ${{ needs.call-workflow-tarball.outputs.has_changes == 'true' }}