CI: bump tmpfs to 8G, fix artifact paths
rootfs.img ran out of space on default-size tmpfs (3.5G). The KDE rootfs + squashfs output needs ~5-6G. Also fix artifact upload and IA upload paths — ISO_POOL defaults to $WORKSPACE_DIR/iso, not /var/lib/artools/buildiso/iso/.
This commit is contained in:
@@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: artixlinux/artixlinux:base
|
image: artixlinux/artixlinux:base
|
||||||
options: --privileged --tmpfs /var/lib/artools/buildiso:exec,suid,dev
|
options: --privileged --tmpfs /var/lib/artools/buildiso:exec,suid,dev,size=8G
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -55,7 +55,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Antergos-NeXT-ISO
|
name: Antergos-NeXT-ISO
|
||||||
path: /var/lib/artools/buildiso/iso/
|
path: ${{ github.workspace }}/iso/
|
||||||
|
|
||||||
- name: Upload to Internet Archive
|
- name: Upload to Internet Archive
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
@@ -71,7 +71,7 @@ jobs:
|
|||||||
secret = $IA_SECRET_KEY
|
secret = $IA_SECRET_KEY
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
ISO_DIR="/var/lib/artools/buildiso/iso"
|
ISO_DIR="${{ github.workspace }}/iso"
|
||||||
ISO=$(ls "$ISO_DIR"/antergos/*.iso 2>/dev/null | head -1)
|
ISO=$(ls "$ISO_DIR"/antergos/*.iso 2>/dev/null | head -1)
|
||||||
[[ -z "$ISO" || ! -f "$ISO" ]] && { echo "No ISO found"; exit 1; }
|
[[ -z "$ISO" || ! -f "$ISO" ]] && { echo "No ISO found"; exit 1; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user