hdf5/.github/workflows/daily-build.yml
Allen Byrne 018ca4e37f
Develop release workflow (#3002)
Implement (pre)release workflow for daily build
2023-05-25 10:24:54 -07:00

31 lines
1004 B
YAML

name: hdf5 dev daily build
# Controls when the action will run. Triggers the workflow on a schedule
on:
workflow_dispatch:
schedule:
- cron: "6 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-tarball, call-workflow-ctest]
uses: ./.github/workflows/release.yml
with:
file_base: ${{ needs.call-workflow-tarball.outputs.file_base }}
file_branch: ${{ needs.call-workflow-tarball.outputs.file_branch }}
file_sha: ${{ needs.call-workflow-tarball.outputs.file_sha }}
if: ${{ needs.call-workflow-tarball.outputs.has_changes == 'true' }}