From cface661ab36a8921e9d1e3a95eff10da1cbc7bc Mon Sep 17 00:00:00 2001 From: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Date: Mon, 20 May 2024 15:07:43 -0500 Subject: [PATCH] Master syn (#198) * Correct syntax * Use double slash * Just try both ways --- .github/workflows/ant-app.yml | 22 ++++++++++++++++++---- .github/workflows/ant.yml | 22 ++++++++++++++++++---- 2 files changed, 36 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ant-app.yml b/.github/workflows/ant-app.yml index 68455048..7046872a 100644 --- a/.github/workflows/ant-app.yml +++ b/.github/workflows/ant-app.yml @@ -381,8 +381,15 @@ jobs: with: repo: 'HDFGroup/hdf4' version: 'tags/snapshot' - regex: true - file: '\\$\\{\\{ inputs.use_hdf \\}\\}-osx.*\\.tar.gz' + file: '${{ inputs.use_hdf }}-osx.tar.gz' + + - name: Get hdf4 release osx12 + if: failure() + uses: dsaltares/fetch-gh-release-asset@master + with: + repo: 'HDFGroup/hdf4' + version: 'tags/snapshot' + file: '${{ inputs.use_hdf }}-osx12.tar.gz' - name: List files for the space (mac) run: | @@ -409,8 +416,15 @@ jobs: with: repo: 'HDFGroup/hdf5' version: 'tags/snapshot' - regex: true - file: '\\$\\{\\{ inputs.use_hdf5 \\}\\}-osx.*\\.tar.gz' + file: '${{ inputs.use_hdf5 }}-osx.tar.gz' + + - name: Get hdf5 release osx12 + if: failure() + uses: dsaltares/fetch-gh-release-asset@master + with: + repo: 'HDFGroup/hdf5' + version: 'tags/snapshot' + file: '${{ inputs.use_hdf5 }}-osx12.tar.gz' - name: List files for the space (mac) run: | diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml index 886d29d0..f1df4bc6 100644 --- a/.github/workflows/ant.yml +++ b/.github/workflows/ant.yml @@ -381,8 +381,15 @@ jobs: with: repo: 'HDFGroup/hdf4' version: 'tags/snapshot' - regex: true - file: '\\$\\{\\{ inputs.use_hdf \\}\\}-osx.*\\.tar.gz' + file: '${{ inputs.use_hdf }}-osx.tar.gz' + + - name: Get hdf4 release osx12 + if: failure() + uses: dsaltares/fetch-gh-release-asset@master + with: + repo: 'HDFGroup/hdf4' + version: 'tags/snapshot' + file: '${{ inputs.use_hdf }}-osx12.tar.gz' - name: List files for the space (mac) run: | @@ -409,8 +416,15 @@ jobs: with: repo: 'HDFGroup/hdf5' version: 'tags/snapshot' - regex: true - file: '\\$\\{\\{ inputs.use_hdf5 \\}\\}-osx.*\\.tar.gz' + file: '${{ inputs.use_hdf5 }}-osx.tar.gz' + + - name: Get hdf5 release osx12 + if: failure() + uses: dsaltares/fetch-gh-release-asset@master + with: + repo: 'HDFGroup/hdf5' + version: 'tags/snapshot' + file: '${{ inputs.use_hdf5 }}-osx12.tar.gz' - name: List files for the space (mac) run: |