mend
This commit is contained in:
parent
eff8add72a
commit
f0f3cb6a78
@ -42,8 +42,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
apt update
|
apt update
|
||||||
apt install -y curl xz-utils file sudo
|
apt install -y curl xz-utils file sudo
|
||||||
./build/arm64.sh
|
#./build/arm64.sh
|
||||||
- name: Upload ISO image
|
touch halis-debian-11.6.0-amd64.img.xz
|
||||||
uses: actions/upload-artifact@v4
|
sleep 10000
|
||||||
with:
|
- name: Upload ISO image to generic package registry
|
||||||
path: ./*.img.xz
|
run: |
|
||||||
|
curl --header 'authorization: Bearer ${{ secrets.GITEA_TOKEN }}' \
|
||||||
|
--upload-file halis-debian-11.6.0-amd64.img.xz \
|
||||||
|
-w "%{http_code}" \
|
||||||
|
https://git.halis.io/api/packages/athens-school/generic/halis-iso-arm64/0.0.1/halis-debian-11.6.0-amd64.img.xz
|
||||||
|
@ -37,7 +37,9 @@ EOT
|
|||||||
echo "Unmounting second partition"
|
echo "Unmounting second partition"
|
||||||
sudo umount mnt -R
|
sudo umount mnt -R
|
||||||
|
|
||||||
|
CORE_COUNT=$((`nproc`-1))
|
||||||
|
|
||||||
echo "Compressing resulting image"
|
echo "Compressing resulting image"
|
||||||
xz $RASPIOS_IMG
|
xz -T$CORE_COUNT $RASPIOS_IMG
|
||||||
|
|
||||||
cp $RASPIOS_IMG.xz halis-debian-11.6.0-amd64.img.xz
|
cp $RASPIOS_IMG.xz halis-debian-11.6.0-amd64.img.xz
|
||||||
|
Loading…
Reference in New Issue
Block a user