mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
ed9791f1ce
* Update actions for release option, fix branch for daily build * Scheduled workflows run on latest commit on the develop * Add snapshots location
43 lines
1.3 KiB
YAML
43 lines
1.3 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
|
|
with:
|
|
#use_tag: snapshot
|
|
use_environ: snapshots
|
|
|
|
call-workflow-ctest:
|
|
needs: call-workflow-tarball
|
|
uses: ./.github/workflows/cmake-ctest.yml
|
|
with:
|
|
file_base: ${{ needs.call-workflow-tarball.outputs.file_base }}
|
|
#use_tag: snapshot
|
|
#use_environ: snapshots
|
|
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-files.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 }}
|
|
use_tag: snapshot
|
|
use_environ: snapshots
|
|
if: ${{ needs.call-workflow-tarball.outputs.has_changes == 'true' }}
|
|
|