dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
.github/workflows/install.yml (1005B)
1name: "ci: Build Install Media image"
2on:
3 workflow_dispatch:
4 schedule:
5 - cron: "0 0 1 * *"
6 push:
7 tags:
8 - "*"
9env:
10 NIX_SHOW_STATS: 1
11jobs:
12 image:
13 runs-on: ubuntu-latest
14 steps:
15 - name: Clone Repo
16 uses: actions/checkout@v7
17 with:
18 token: ${{ secrets.GITHUB_TOKEN }}
19 fetch-depth: 0
20 - name: Install Nix
21 uses: cachix/install-nix-action@v31
22 with:
23 extra_nix_config: |
24 experimental-features = nix-command flakes
25 accept-flake-config = true
26 access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
27 - name: Build Default Install Media
28 run: nix build .#nixosConfigurations.install.config.system.build.images.iso -L --show-trace
29 - name: Upload ISO Image
30 uses: actions/upload-artifact@v7
31 id: image-upload
32 with:
33 name: Image
34 path: result/iso/install.iso
35 compression-level: 0
36 if-no-files-found: error