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: |