Skip to content

Commit 2ffc46a

Browse files
committed
new workflow does tarballs release and tests
1 parent 5683bbd commit 2ffc46a

2 files changed

Lines changed: 0 additions & 140 deletions

File tree

.github/workflows/dockers_deploy_and_test.yml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Build & Publish GitHub Container Registry (GHCR) Images
22
name: Deploy and Test
3-
run-name: >-
4-
${{ github.event_name == 'workflow_dispatch' && 'pygemc workflow dispatch' || github.ref_name }}
53
permissions:
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

.github/workflows/gemc_binary_tarball_test.yml

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)