mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
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 * * *"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
# 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]
|
|
permissions:
|
|
contents: write # In order to allow tag creation
|
|
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' }}
|
|
|