File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Build & Publish GitHub Container Registry (GHCR) Images
22name : Deploy and Test
3- run-name : >-
4- ${{ github.event_name == 'workflow_dispatch' && 'pygemc workflow dispatch' || github.ref_name }}
53permissions :
64 contents : write
75 packages : write
@@ -201,39 +199,6 @@ jobs:
201199 path : ${{ runner.temp }}/artifacts/package-${{ env.LOGNAME }}/*.tar.gz
202200 if-no-files-found : error
203201
204- release_tarballs :
205- if : ${{ github.event_name != 'pull_request' && always() }}
206- name : Attach GEMC tarballs to dev release
207- needs : [ build_arch, discover ]
208- runs-on : ubuntu-latest
209- env :
210- TAG_NAME : dev
211- steps :
212- - name : Download GEMC tarballs
213- uses : actions/download-artifact@v7
214- with :
215- pattern : gemc-tarball-*
216- path : ${{ runner.temp }}/gemc-release-artifacts
217- merge-multiple : true
218-
219- - name : Upload GEMC tarballs to release
220- env :
221- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
222- REPO : ${{ github.repository }}
223- shell : bash
224- run : |
225- shopt -s nullglob
226- tarballs=("${{ runner.temp }}/gemc-release-artifacts/"*.tar.gz)
227- shopt -u nullglob
228- if (( ${#tarballs[@]} == 0 )); then
229- echo "No GEMC tarballs found"
230- exit 1
231- fi
232- gh release view "${TAG_NAME}" --repo "$REPO" >/dev/null 2>&1 || \
233- gh release create "${TAG_NAME}" --repo "$REPO" --title "Dev Nightly" --prerelease --notes "Dev nightly release."
234- gh release upload "${TAG_NAME}" --repo "$REPO" "${tarballs[@]}" --clobber
235-
236-
237202 # Manifest stitch
238203 # uses matrix_manifest so it's not repeated for each arch
239204 # docker buildx imagetools create: assembles an OCI manifest list
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments