11name : hdf5 plugins release-files
22
3- # Controls when the action will run. Triggers the workflow on a schedule
3+ # Triggers the workflow on a call from another workflow
44on :
55 workflow_call :
66 inputs :
4040 steps :
4141 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
4242 - name : Get Sources
43- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
43+ uses : actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08 # v4.1.7
4444 with :
4545 fetch-depth : 0
46+ ref : ' ${{ github.head_ref || github.ref_name }}'
4647
4748 - name : Get Commit
4849 if : ${{ (inputs.use_environ == 'snapshots') }}
@@ -77,43 +78,71 @@ jobs:
7778
7879 # Get files created by tarball script
7980 - name : Get tgz-tarball (Linux)
80- uses : actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
81+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
8182 with :
8283 name : tgz-tarball
8384 path : ${{ github.workspace }}
8485
8586 - name : Get zip-tarball (Windows)
86- uses : actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
87+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
8788 with :
8889 name : zip-tarball
8990 path : ${{ github.workspace }}
9091
9192 # Get files created by cmake-ctest script
9293 - name : Get published binary (Windows)
93- uses : actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
94+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
9495 with :
9596 name : zip-vs2022_cl-binary
9697 path : ${{ github.workspace }}
9798
99+ - name : Get published msi binary (Windows)
100+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
101+ with :
102+ name : msi-vs2022_cl-binary
103+ path : ${{ github.workspace }}
104+
98105 - name : Get published binary (MacOS)
99- uses : actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
106+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
107+ with :
108+ name : tgz-macos14_clang-binary
109+ path : ${{ github.workspace }}
110+
111+ - name : Get published dmg binary (MacOS)
112+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
100113 with :
101- name : tgz-osx -binary
114+ name : tgz-macos14_clang-dmg -binary
102115 path : ${{ github.workspace }}
103116
104117 - name : Get published binary (Linux)
105- uses : actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
118+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
106119 with :
107120 name : tgz-ubuntu-2204_gcc-binary
108121 path : ${{ github.workspace }}
109122
123+ - name : Get published deb binary (Linux)
124+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
125+ with :
126+ name : deb-ubuntu-2204_gcc-binary
127+ path : ${{ github.workspace }}
128+
129+ - name : Get published rpm binary (Linux)
130+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
131+ with :
132+ name : rpm-ubuntu-2204_gcc-binary
133+ path : ${{ github.workspace }}
134+
110135 - name : Create sha256 sums for files
111136 run : |
112137 sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}.tar.gz >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
113138 sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}.zip >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
114- sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-osx.tar.gz >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
139+ sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-macos14_clang.tar.gz >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
140+ sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-macos14_clang.dmg >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
115141 sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.tar.gz >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
142+ sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.deb >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
143+ sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
116144 sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
145+ sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.msi >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
117146
118147 - name : Store snapshot name
119148 run : |
@@ -122,33 +151,41 @@ jobs:
122151 - name : PreRelease tag
123152 id : create_prerelease
124153 if : ${{ (inputs.use_environ == 'snapshots') }}
125- uses : softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564 # v2.0.4
154+ uses : softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
126155 with :
127156 tag_name : " ${{ inputs.use_tag }}"
128157 prerelease : true
129158 files : |
130159 last-file.txt
131160 ${{ steps.get-file-base.outputs.FILE_BASE }}.tar.gz
132161 ${{ steps.get-file-base.outputs.FILE_BASE }}.zip
133- ${{ steps.get-file-base.outputs.FILE_BASE }}-osx.tar.gz
162+ ${{ steps.get-file-base.outputs.FILE_BASE }}-macos14_clang.tar.gz
163+ ${{ steps.get-file-base.outputs.FILE_BASE }}-macos14_clang.dmg
134164 ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.tar.gz
165+ ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.deb
166+ ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm
135167 ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip
168+ ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.msi
136169 ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
137170 if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
138171
139172 - name : Release tag
140173 id : create_release
141174 if : ${{ (inputs.use_environ == 'release') }}
142- uses : softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564 # v2.0.4
175+ uses : softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
143176 with :
144177 tag_name : " ${{ inputs.use_tag }}"
145178 prerelease : false
146179 files : |
147180 ${{ steps.get-file-base.outputs.FILE_BASE }}.tar.gz
148181 ${{ steps.get-file-base.outputs.FILE_BASE }}.zip
149- ${{ steps.get-file-base.outputs.FILE_BASE }}-osx.tar.gz
182+ ${{ steps.get-file-base.outputs.FILE_BASE }}-macos14_clang.tar.gz
183+ ${{ steps.get-file-base.outputs.FILE_BASE }}-macos14_clang.dmg
150184 ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.tar.gz
185+ ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.deb
186+ ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm
151187 ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip
188+ ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.msi
152189 ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
153190 if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
154191
0 commit comments