Skip to content

Commit

Permalink
ci: add sdcard in artifact
Browse files Browse the repository at this point in the history
Signed-off-by: Han Gao <[email protected]>
  • Loading branch information
RevySR committed Mar 23, 2024
1 parent bdaad82 commit 789bf27
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,10 @@ jobs:
- name: Make Checksum file & Compress files
run: |
pushd mkimg-th1520
sha256sum *.ext4 > SHA256SUMS
sha512sum *.ext4 > SHA512SUMS
zstd *.ext4
zstd *.img
sha256sum *.zst > SHA256SUMS
sha512sum *.zst > SHA512SUMS
popd
- name: 'Upload Artifact'
Expand All @@ -177,7 +178,7 @@ jobs:
retention-days: 30
name: th1520-${{ env.BOARD }}-${{ env.BUILD_ID }}
path: |
mkimg-th1520/*.ext4.zst
mkimg-th1520/*.zst
mkimg-th1520/SHA256SUMS
mkimg-th1520/SHA512SUMS
Expand All @@ -186,7 +187,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
mkimg-th1520/*.ext4.zst
mkimg-th1520/*.zst
mkimg-th1520/SHA256SUMS
mkimg-th1520/SHA512SUMS
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 789bf27

Please sign in to comment.