build: update

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-09-27 22:05:59 +02:00
parent 831538f7f9
commit 04990a0fb8
2 changed files with 24 additions and 9 deletions

View File

@ -127,8 +127,12 @@ jobs:
cp -f files/p1/ARC-VERSION files/p3/ARC-VERSION
cp -f files/p1/ARC-BRANCH files/p3/ARC-BRANCH
cp -f files/p1/boot/grub/grub.cfg files/p3/grub.cfg
zip -9j update.zip -r "files/p3"
cd files/p3
zip -9 update.zip -r .
sha256sum update.zip >checksum.sha256
mv update.zip ../
mv checksum.sha256 ../
cd -
# Build incremental
- name: Build Image X
@ -183,13 +187,16 @@ jobs:
echo "Create Arc ova"
convertova "${IMAGE_FILE}" "arc-next.ova"
# Zip update and generate checksum
cp -f files/p1/ARC-VERSION files/p3/ARC-VERSION
cp -f files/p1/ARC-BRANCH files/p3/ARC-BRANCH
cp -f files/p1/boot/grub/grub.cfg files/p3/grub.cfg
zip -9j update-next.zip -r "files/p3"
cd files/p3
zip -9 update-next.zip -r .
sha256sum update-next.zip >checksum-next.sha256
mv update-next.zip ../
mv checksum-next.sha256 ../
cd -
# Zip image and generate checksum
- name: Pack

View File

@ -165,8 +165,12 @@ jobs:
cp -f files/p1/ARC-VERSION files/p3/ARC-VERSION
cp -f files/p1/ARC-BRANCH files/p3/ARC-BRANCH
cp -f files/p1/boot/grub/grub.cfg files/p3/grub.cfg
zip -9j update.zip -r "files/p3"
cd files/p3
zip -9 update.zip -r .
sha256sum update.zip >checksum.sha256
mv update.zip ../
mv checksum.sha256 ../
cd -
# Build incremental
- name: Build Image X
@ -226,8 +230,12 @@ jobs:
cp -f files/p1/ARC-VERSION files/p3/ARC-VERSION
cp -f files/p1/ARC-BRANCH files/p3/ARC-BRANCH
cp -f files/p1/boot/grub/grub.cfg files/p3/grub.cfg
zip -9j update-next.zip -r "files/p3"
cd files/p3
zip -9 update-next.zip -r .
sha256sum update-next.zip >checksum-next.sha256
mv update-next.zip ../
mv checksum-next.sha256 ../
cd -
# Zip image and generate checksum
- name: Pack
@ -277,8 +285,8 @@ jobs:
Release: ${{ env.BUILD_TIME }}
artifacts: |
arc-*.zip
update.zip
update-next.zip
checksum.sha256
checksum-next.sha256
files/update.zip
files/update-next.zip
files/checksum.sha256
files/checksum-next.sha256
check.update