Skip to content

Test

Test #35

Workflow file for this run

name: Release ISO
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
container:
image: archlinux/archlinux:latest
options: --privileged
steps:
- name: Checkout repository using git
# uses: actions/checkout@v2
run: |
pacman -Sy git sudo archiso --noconfirm
git clone --recurse-submodules https://github.com/zstg/StratOS-iso
- name: Build ISO
id: build_iso
run: |
export BUILD_DATE=$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)
sudo ./build.sh # admin perms required to mount /proc
# echo "::set-output name=date::${BUILD_DATE}"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: StratOS_${BUILD_DATE}
path: output/**.iso