Skip to content

daily-build-x86_64

daily-build-x86_64 #16

Workflow file for this run

name: daily-build-x86_64
on:
push:
branches:
- daily
schedule:
- cron: "0 0 * * *"
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-22.04
container:
image: debian:latest
volumes:
- /proc:/proc
options: --privileged
steps:
- name: Get source
uses: actions/checkout@v4
- name: Build system
run: |
apt update -y
apt-get install -y live-build squashfs-tools syslinux-common syslinux-utils xorriso isolinux git curl
git clone https://github.com/Blade-OS/os.git -b daily
cd os/
./build_daily
mv blade/blade-"$(date -u +%y%m%d)"-amd64.hybrid.iso ~/blade.iso
cd ../
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: image-x86_64
path: ~/blade.iso
if-no-files-found: warn
retention-days: 90
compression-level: 0
- name: Create release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "daily-build"
prerelease: true
title: "Daily automated testing build"
files: |
*.zip