move celeste to secrets folder #5
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: "Build ISO" | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- 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 |