|
8 | 8 | description: "The hdf5 base name of the binaries" |
9 | 9 | required: true |
10 | 10 | type: string |
| 11 | + hdf_tag: |
| 12 | + description: "The hdf5 release tag for asset download (version only, without hdf5- prefix)" |
| 13 | + required: false |
| 14 | + type: string |
| 15 | + default: '' |
11 | 16 | snap_name: |
12 | 17 | description: 'The name in the source tarballs' |
13 | 18 | type: string |
@@ -74,19 +79,21 @@ jobs: |
74 | 79 |
|
75 | 80 | - name: Get hdf5 snapshot |
76 | 81 | if: ${{ (inputs.use_environ == 'snapshots') }} |
77 | | - uses: dsaltares/fetch-gh-release-asset@master |
| 82 | + uses: robinraju/release-downloader@v1 |
78 | 83 | with: |
79 | | - repo: 'HDFGroup/hdf5' |
80 | | - version: 'tags/snapshot' |
81 | | - file: '${{ inputs.use_hdf }}-win-vs2022_cl.zip' |
| 84 | + repository: 'HDFGroup/hdf5' |
| 85 | + tag: 'snapshot' |
| 86 | + fileName: '${{ inputs.use_hdf }}-win-vs2022_cl.zip' |
| 87 | + token: ${{ github.token }} |
82 | 88 |
|
83 | 89 | - name: Get hdf5 release |
84 | 90 | if: ${{ (inputs.use_environ == 'release') }} |
85 | | - uses: dsaltares/fetch-gh-release-asset@master |
| 91 | + uses: robinraju/release-downloader@v1 |
86 | 92 | with: |
87 | | - repo: 'HDFGroup/hdf5' |
88 | | - version: 'tags/${{ inputs.use_hdf }}' |
89 | | - file: '${{ inputs.use_hdf }}-win-vs2022_cl.zip' |
| 93 | + repository: 'HDFGroup/hdf5' |
| 94 | + tag: '${{ inputs.hdf_tag }}' |
| 95 | + fileName: '${{ inputs.use_hdf }}-win-vs2022_cl.zip' |
| 96 | + token: ${{ github.token }} |
90 | 97 |
|
91 | 98 | - name: Uncompress gh binary (Win) |
92 | 99 | run: 7z x ${{ github.workspace }}/${{ inputs.use_hdf }}-win-vs2022_cl.zip |
@@ -219,19 +226,21 @@ jobs: |
219 | 226 |
|
220 | 227 | - name: Get hdf5 release |
221 | 228 | if: ${{ (inputs.use_environ == 'snapshots') }} |
222 | | - uses: dsaltares/fetch-gh-release-asset@master |
| 229 | + uses: robinraju/release-downloader@v1 |
223 | 230 | with: |
224 | | - repo: 'HDFGroup/hdf5' |
225 | | - version: 'tags/snapshot' |
226 | | - file: '${{ inputs.use_hdf }}-ubuntu-2404_gcc.tar.gz' |
| 231 | + repository: 'HDFGroup/hdf5' |
| 232 | + tag: 'snapshot' |
| 233 | + fileName: '${{ inputs.use_hdf }}-ubuntu-2404_gcc.tar.gz' |
| 234 | + token: ${{ github.token }} |
227 | 235 |
|
228 | 236 | - name: Get hdf5 release |
229 | 237 | if: ${{ (inputs.use_environ == 'release') }} |
230 | | - uses: dsaltares/fetch-gh-release-asset@master |
| 238 | + uses: robinraju/release-downloader@v1 |
231 | 239 | with: |
232 | | - repo: 'HDFGroup/hdf5' |
233 | | - version: 'tags/${{ inputs.use_hdf }}' |
234 | | - file: '${{ inputs.use_hdf }}-ubuntu-2404_gcc.tar.gz' |
| 240 | + repository: 'HDFGroup/hdf5' |
| 241 | + tag: '${{ inputs.hdf_tag }}' |
| 242 | + fileName: '${{ inputs.use_hdf }}-ubuntu-2404_gcc.tar.gz' |
| 243 | + token: ${{ github.token }} |
235 | 244 |
|
236 | 245 | - name: List files for the space (Linux) |
237 | 246 | run: | |
@@ -356,19 +365,21 @@ jobs: |
356 | 365 |
|
357 | 366 | - name: Get hdf5 snapshot |
358 | 367 | if: ${{ (inputs.use_environ == 'snapshots') }} |
359 | | - uses: dsaltares/fetch-gh-release-asset@master |
| 368 | + uses: robinraju/release-downloader@v1 |
360 | 369 | with: |
361 | | - repo: 'HDFGroup/hdf5' |
362 | | - version: 'tags/snapshot' |
363 | | - file: '${{ inputs.use_hdf }}-macos14_clang.tar.gz' |
| 370 | + repository: 'HDFGroup/hdf5' |
| 371 | + tag: 'snapshot' |
| 372 | + fileName: '${{ inputs.use_hdf }}-macos14_clang.tar.gz' |
| 373 | + token: ${{ github.token }} |
364 | 374 |
|
365 | 375 | - name: Get hdf5 release |
366 | 376 | if: ${{ (inputs.use_environ == 'release') }} |
367 | | - uses: dsaltares/fetch-gh-release-asset@master |
| 377 | + uses: robinraju/release-downloader@v1 |
368 | 378 | with: |
369 | | - repo: 'HDFGroup/hdf5' |
370 | | - version: 'tags/${{ inputs.use_hdf }}' |
371 | | - file: '${{ inputs.use_hdf }}-macos14_clang.tar.gz' |
| 379 | + repository: 'HDFGroup/hdf5' |
| 380 | + tag: '${{ inputs.hdf_tag }}' |
| 381 | + fileName: '${{ inputs.use_hdf }}-macos14_clang.tar.gz' |
| 382 | + token: ${{ github.token }} |
372 | 383 |
|
373 | 384 | - name: List files for the space (MacOS_latest) |
374 | 385 | run: | |
@@ -491,19 +502,21 @@ jobs: |
491 | 502 |
|
492 | 503 | - name: Get hdf5 snapshot(Windows_intel) |
493 | 504 | if: ${{ (inputs.use_environ == 'snapshots') }} |
494 | | - uses: dsaltares/fetch-gh-release-asset@master |
| 505 | + uses: robinraju/release-downloader@v1 |
495 | 506 | with: |
496 | | - repo: 'HDFGroup/hdf5' |
497 | | - version: 'tags/snapshot' |
498 | | - file: '${{ inputs.use_hdf }}-win-vs2022_intel.zip' |
| 507 | + repository: 'HDFGroup/hdf5' |
| 508 | + tag: 'snapshot' |
| 509 | + fileName: '${{ inputs.use_hdf }}-win-vs2022_intel.zip' |
| 510 | + token: ${{ github.token }} |
499 | 511 |
|
500 | 512 | - name: Get hdf5 release(Windows_intel) |
501 | 513 | if: ${{ (inputs.use_environ == 'release') }} |
502 | | - uses: dsaltares/fetch-gh-release-asset@master |
| 514 | + uses: robinraju/release-downloader@v1 |
503 | 515 | with: |
504 | | - repo: 'HDFGroup/hdf5' |
505 | | - version: 'tags/${{ inputs.use_hdf }}' |
506 | | - file: '${{ inputs.use_hdf }}-win-vs2022_intel.zip' |
| 516 | + repository: 'HDFGroup/hdf5' |
| 517 | + tag: '${{ inputs.hdf_tag }}' |
| 518 | + fileName: '${{ inputs.use_hdf }}-win-vs2022_intel.zip' |
| 519 | + token: ${{ github.token }} |
507 | 520 |
|
508 | 521 | - name: Uncompress gh binary (Windows_intel) |
509 | 522 | run: 7z x ${{ github.workspace }}/${{ inputs.use_hdf }}-win-vs2022_intel.zip |
@@ -647,19 +660,21 @@ jobs: |
647 | 660 |
|
648 | 661 | - name: Get hdf5 release (Linux_intel) |
649 | 662 | if: ${{ (inputs.use_environ == 'snapshots') }} |
650 | | - uses: dsaltares/fetch-gh-release-asset@master |
| 663 | + uses: robinraju/release-downloader@v1 |
651 | 664 | with: |
652 | | - repo: 'HDFGroup/hdf5' |
653 | | - version: 'tags/snapshot' |
654 | | - file: '${{ inputs.use_hdf }}-ubuntu-2404_intel.tar.gz' |
| 665 | + repository: 'HDFGroup/hdf5' |
| 666 | + tag: 'snapshot' |
| 667 | + fileName: '${{ inputs.use_hdf }}-ubuntu-2404_intel.tar.gz' |
| 668 | + token: ${{ github.token }} |
655 | 669 |
|
656 | 670 | - name: Get hdf5 release (Linux_intel) |
657 | 671 | if: ${{ (inputs.use_environ == 'release') }} |
658 | | - uses: dsaltares/fetch-gh-release-asset@master |
| 672 | + uses: robinraju/release-downloader@v1 |
659 | 673 | with: |
660 | | - repo: 'HDFGroup/hdf5' |
661 | | - version: 'tags/${{ inputs.use_hdf }}' |
662 | | - file: '${{ inputs.use_hdf }}-ubuntu-2404_intel.tar.gz' |
| 674 | + repository: 'HDFGroup/hdf5' |
| 675 | + tag: '${{ inputs.hdf_tag }}' |
| 676 | + fileName: '${{ inputs.use_hdf }}-ubuntu-2404_intel.tar.gz' |
| 677 | + token: ${{ github.token }} |
663 | 678 |
|
664 | 679 | - name: List files for the space (Linux_intel) |
665 | 680 | run: | |
|
0 commit comments