Skip to content

Commit

Permalink
ci: releases now list individual files instead of tar (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah authored Mar 31, 2024
1 parent 96fa457 commit 148e8d0
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -264,14 +264,23 @@ jobs:
- name: Download Artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # pin@v3
with:
path: .
- name: List Artifacts dir
run: ls -aRsh artifacts/
name: artifacts
path: artifacts

- name: List Downloaded Artifacts
run: ls -aRsh artifacts

- name: Extract relevant component's tar
run: |
set -eux
mkdir -p extracted
tar -xvf artifacts/${CI_COMPONENT}.tar.zst -C extracted
ls -aRsh extracted
- name: Compute sha256 checksums
run: |
set -eux
pushd artifacts
pushd extracted
for f in *; do
sha256sum "${f}" > "${f}.sha256"
done
Expand All @@ -282,6 +291,4 @@ jobs:
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # pin@v1
with:
fail_on_unmatched_files: true
files: |
artifacts/${{ steps.tag-parse.outputs.CI_COMPONENT }}.tar.zst
artifacts/${{ steps.tag-parse.outputs.CI_COMPONENT }}.tar.zst.sha256
files: extracted/*

0 comments on commit 148e8d0

Please sign in to comment.