-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from byrnHDF/master-ci-release
use hdf tag name instead of snapshot name to get hdf5
- Loading branch information
Showing
3 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,11 @@ on: | |
description: "The common base name of the source tarballs" | ||
required: true | ||
type: string | ||
use_environ: | ||
description: 'Environment to locate files' | ||
type: string | ||
required: true | ||
default: snapshots | ||
|
||
permissions: | ||
contents: read | ||
|
@@ -40,14 +45,21 @@ jobs: | |
uses: ilammy/[email protected] | ||
|
||
- name: Get hdf5 release | ||
if: ${{ (inputs.use_environ == 'snapshots') }} | ||
uses: dsaltares/fetch-gh-release-asset@master | ||
with: | ||
repo: 'HDFGroup/hdf5' | ||
#version: 'tags/1.14.2' | ||
#file: 'hdf5-1_14_2-win_vs2022.zip' | ||
version: 'tags/snapshot' | ||
file: '${{ inputs.use_hdf }}-win_vs2022.zip' | ||
|
||
- name: Get hdf5 release | ||
if: ${{ (inputs.use_environ == 'release') }} | ||
uses: dsaltares/fetch-gh-release-asset@master | ||
with: | ||
repo: 'HDFGroup/hdf5' | ||
version: 'tags/${{ inputs.use_hdf }}' | ||
file: '${{ inputs.use_hdf }}-win_vs2022.zip' | ||
|
||
- name: Uncompress gh binary (Win) | ||
run: 7z x ${{ github.workspace }}/${{ inputs.use_hdf }}-win_vs2022.zip | ||
|
||
|
@@ -138,14 +150,21 @@ jobs: | |
distribution: 'temurin' | ||
|
||
- name: Get hdf5 release | ||
if: ${{ (inputs.use_environ == 'snapshots') }} | ||
uses: dsaltares/fetch-gh-release-asset@master | ||
with: | ||
repo: 'HDFGroup/hdf5' | ||
#version: 'tags/1.14.2' | ||
#file: 'hdf5-1_14_2-ubuntu-2204.tar.gz' | ||
version: 'tags/snapshot' | ||
file: '${{ inputs.use_hdf }}-ubuntu-2204.tar.gz' | ||
|
||
- name: Get hdf5 release | ||
if: ${{ (inputs.use_environ == 'release') }} | ||
uses: dsaltares/fetch-gh-release-asset@master | ||
with: | ||
repo: 'HDFGroup/hdf5' | ||
version: 'tags/${{ inputs.use_hdf }}' | ||
file: '${{ inputs.use_hdf }}-ubuntu-2204.tar.gz' | ||
|
||
- name: List files for the space (Linux) | ||
run: | | ||
ls -l ${{ github.workspace }} | ||
|
@@ -219,14 +238,21 @@ jobs: | |
distribution: 'temurin' | ||
|
||
- name: Get hdf5 release | ||
if: ${{ (inputs.use_environ == 'snapshots') }} | ||
uses: dsaltares/fetch-gh-release-asset@master | ||
with: | ||
repo: 'HDFGroup/hdf5' | ||
#version: 'tags/1.14.2' | ||
#file: 'hdf5-1_14_2-osx12.tar.gz' | ||
version: 'tags/snapshot' | ||
file: '${{ inputs.use_hdf }}-osx12.tar.gz' | ||
|
||
- name: Get hdf5 release | ||
if: ${{ (inputs.use_environ == 'release') }} | ||
uses: dsaltares/fetch-gh-release-asset@master | ||
with: | ||
repo: 'HDFGroup/hdf5' | ||
version: 'tags/${{ inputs.use_hdf }}' | ||
file: '${{ inputs.use_hdf }}-osx12.tar.gz' | ||
|
||
- name: List files for the space (MacOS) | ||
run: | | ||
ls -l ${{ github.workspace }} | ||
|
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
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