Skip to content

Commit

Permalink
upload view tarball
Browse files Browse the repository at this point in the history
paulgessinger committed Dec 13, 2024
1 parent 92a9ce3 commit c3e513b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/spack.yml
Original file line number Diff line number Diff line change
@@ -133,6 +133,13 @@ jobs:
tar cf - -C "${SPACK_VIEW}" . | zstd -o "view_${TARGET_TRIPLET}.tar.zst" -19 -T"${NCPUS}"
du -sh "view_${TARGET_TRIPLET}.tar.zst"
- name: Upload view tarball
uses: actions/upload-artifact@v4
with:
name: view_${{ env.TARGET_TRIPLET }}.tar.zst
path: view_${{ env.TARGET_TRIPLET }}.tar.zst
if-no-files-found: error

- name: Add tarball to release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')

0 comments on commit c3e513b

Please sign in to comment.