Skip to content

Build palen1x (Nightly) #6

Build palen1x (Nightly)

Build palen1x (Nightly) #6

Workflow file for this run

name: Build palen1x (Nightly)
on:
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
arch: [ amd64, i686, aarch64, armv7 ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get version
id: version
run: echo "VERSION=$(cat version)" >> $GITHUB_ENV
- name: Install qemu-user-static
run: |
sudo apt-get update
sudo apt-get install -y qemu-user-static
- name: Build
env:
ARCH: ${{ matrix.arch }}
run: |
sudo -E ./build.sh NIGHTLY
- name: Prepare artifact
run: |
mkdir palen1x
cp work/*-${{ matrix.arch }}.iso palen1x
cp work/iso/boot/initramfs.xz palen1x/initramfs-${{ matrix.arch }}.xz
- name: Upload artifact to cdn.nickchan.lol
uses: wangyucode/[email protected]
with:
host: ${{ secrets.NICKCHAN_FTP_HOST }}
port: ${{ secrets.NICKCHAN_FTP_PORT }}
username: palera1n
privateKey: ${{ secrets.NICKCHAN_FTP_KEY }}
forceUpload: true
dryRun: false
localDir: 'palen1x/'
remoteDir: '/palera1n/artifacts/palen1x/nightly'