mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 22:19:52 +07:00
build: update
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
831538f7f9
commit
04990a0fb8
13
.github/workflows/autobuild.yml
vendored
13
.github/workflows/autobuild.yml
vendored
@ -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
|
||||
|
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user