Correct the URL for registered filters #63
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: hdf5 plugins daily build | |
on: | |
workflow_dispatch: | |
inputs: | |
use_ignore: | |
description: 'Ignore has changes check' | |
type: string | |
required: false | |
default: check | |
use_environ: | |
description: 'Environment to locate files' | |
type: string | |
required: false | |
default: snapshots | |
pull_request: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
# A workflow run is made up of one or more jobs that can run sequentially or | |
# in parallel. | |
jobs: | |
get-base-names: | |
runs-on: ubuntu-latest | |
outputs: | |
hdf5-name: ${{ steps.gethdf5base.outputs.HDF5_NAME_BASE }} | |
run-ignore: ${{ steps.getinputs.outputs.INPUTS_IGNORE }} | |
run-environ: ${{ steps.getinputs.outputs.INPUTS_ENVIRON }} | |
steps: | |
- uses: actions/[email protected] | |
- name: Get hdf5 release base name | |
uses: dsaltares/fetch-gh-release-asset@master | |
with: | |
repo: 'HDFGroup/hdf5' | |
version: 'tags/snapshot' | |
file: 'last-file.txt' | |
- name: Read base-name file | |
id: gethdf5base | |
run: echo "HDF5_NAME_BASE=$(cat last-file.txt)" >> $GITHUB_OUTPUT | |
- run: echo "hdf5 base name is ${{ steps.gethdf5base.outputs.HDF5_NAME_BASE }}." | |
- name: Read inputs | |
id: getinputs | |
run: | | |
echo "INPUTS_IGNORE=${{ ((github.event.inputs.use_ignore == '' && github.event.inputs.use_ignore) || 'ignore') }}" >> $GITHUB_OUTPUT | |
echo "INPUTS_ENVIRON=${{ ((github.event.inputs.use_environ == '' && github.event.inputs.use_environ) || 'snapshots') }}" >> $GITHUB_OUTPUT | |
- run: echo "use_ignore is ${{ steps.getinputs.outputs.INPUTS_IGNORE }}." | |
- run: echo "use_environ is ${{ steps.getinputs.outputs.INPUTS_ENVIRON }}." | |
call-workflow-tarball: | |
needs: get-base-names | |
uses: ./.github/workflows/tarball.yml | |
with: | |
use_ignore: ${{ needs.get-base-names.outputs.run-ignore }} | |
use_environ: ${{ needs.get-base-names.outputs.run-environ }} | |
call-workflow-ctest: | |
needs: [get-base-names, call-workflow-tarball] | |
uses: ./.github/workflows/cmake-ctest.yml | |
with: | |
file_base: ${{ needs.call-workflow-tarball.outputs.file_base }} | |
preset_name: ci-StdShar | |
use_hdf: ${{ needs.get-base-names.outputs.hdf5-name }} | |
use_environ: ${{ needs.get-base-names.outputs.run-environ }} | |
if: ${{ ((needs.get-base-names.outputs.run-environ == 'snapshots') && ((needs.call-workflow-tarball.outputs.has_changes == 'true') || (needs.get-base-names.outputs.run-ignore == 'ignore'))) || (needs.get-base-names.outputs.run-environ == 'release') }} | |
call-workflow-release: | |
needs: [get-base-names, 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: ${{ needs.get-base-names.outputs.run-environ }} | |
if: ${{ ((needs.get-base-names.outputs.run-environ == 'snapshots') && ((needs.call-workflow-tarball.outputs.has_changes == 'true') || (needs.get-base-names.outputs.run-ignore == 'ignore'))) || (needs.get-base-names.outputs.run-environ == 'release') }} | |