Create main.yml #1
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
on: | |
push: | |
branches: [main] | |
name: Build ISO | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
container: | |
image: archlinux | |
options: --privileged | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install archiso | |
run: pacman -Sy --noconfirm archiso | |
- name: Build archiso | |
run: mkarchiso -v siso/src/archlive/ | |
- name: Upload ISO | |
uses: actions/upload-artifact@v4 | |
with: | |
name: senioros-iso | |
path: out/ | |
- name: Release SeniorOS | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest" | |
prerelease: false | |
title: "Development Build" | |
files: | | |
out/*.iso |