Skip to content

switch space freer

switch space freer #7

Workflow file for this run

name: "Build ISO"
on:
push:
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space
uses: insightsengineering/disk-space-reclaimer@v1
- name: Checkout repository
uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@v25
with:
nix_path: "nixpkgs=channel:nixos-unstable"
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Show nixpkgs version
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
- name: Build the ISO
env:
NIXPKGS_ALLOW_UNFREE: 1
run: |
nix run nixpkgs#nixos-generators -- --flake .#minix -f iso -o minix.iso
- name: Create a release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: iso-latest
prerelease: false
title: "Auto-generated ISO builds"
files: |
minix.iso