Test sparse checkout

This commit is contained in:
iFargle 2023-10-03 11:20:52 +09:00
parent 9ac18b2f5f
commit b8a9de7d80

View file

@ -3,11 +3,20 @@ name: Build NixOS ISO
run-name: ${{ github.actor }} is testing run-name: ${{ github.actor }} is testing
on: [push] on: [push]
jobs: jobs:
Build NixOS x86 Console: build-x86-console-iso:
runs-on: docker runs-on: docker
# container: nixos/nix
steps: 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 - id: nixos-docker-create
uses: ./.forgejo/actions/nixos-docker uses: ./.forgejo/actions/nixos-docker
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event." - run: echo "The job was automatically triggered by a ${{ github.event_name }} event."