From b8a9de7d8054ab221d3240cecdc3e56473d5537b Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 3 Oct 2023 11:20:52 +0900 Subject: [PATCH] Test sparse checkout --- .forgejo/workflows/build-iso.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/build-iso.yml b/.forgejo/workflows/build-iso.yml index e2949eb3..c6a533f6 100644 --- a/.forgejo/workflows/build-iso.yml +++ b/.forgejo/workflows/build-iso.yml @@ -3,11 +3,20 @@ name: Build NixOS ISO run-name: ${{ github.actor }} is testing on: [push] jobs: - Build NixOS x86 Console: + build-x86-console-iso: runs-on: docker - # container: nixos/nix steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + sparse-checkout: | + .github + home-manager + lib + nixos + flake.lock + flake.nix + shell.nix + - uses: ./.forgejo/actions/nixos-docker - id: nixos-docker-create uses: ./.forgejo/actions/nixos-docker - run: echo "The job was automatically triggered by a ${{ github.event_name }} event."