Fix some errors that were made during commit #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: "bookworm-preview" | |
prerelease: true | |
title: "Bookworm automated preview build" | |
files: | | |
*.iso | |