Skip to content

Commit

Permalink
github: Prepare artifacts for upload
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Dec 6, 2024
1 parent d25e8a5 commit 088f236
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,22 @@ jobs:
export PATH=${PATH}:/root/.local/bin
make
- name: Prepare the files
run: |
mkdir upload
mv mkosi.output/debug.raw upload/
mv mkosi.output/incus.raw upload/
mv $(ls mkosi.output/IncusOS_*.raw | grep -v usr | grep -v esp | sort | tail -1) upload/
mv $(ls mkosi.output/IncusOS_*.efi | sort | tail -1) upload/
mv $(ls mkosi.output/IncusOS_*.usr-x86-64.* | sort | tail -1) upload/
mv $(ls mkosi.output/IncusOS_*.usr-x86-64-verity.* | sort | tail -1) upload/
mv $(ls mkosi.output/IncusOS_*.usr-x86-64-verity-sig.* | sort | tail -1) upload/
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
file: mkosi.output/incus.raw mkosi.output/debug.raw mkosi.output/IncusOS_*.efi mkosi.output/IncusOS_usr-*
file: upload/*
overwrite: true
file_glob: true

0 comments on commit 088f236

Please sign in to comment.