ci: remove /homeless-shelter right before build
Some checks failed
Nix CI / build (push) Failing after 6m20s
Some checks failed
Nix CI / build (push) Failing after 6m20s
- Prep step runs after install-nix Pre step (actions order), so useless there - Move cleanup to a dedicated step directly before nix build
This commit is contained in:
parent
a38a9b3105
commit
6bf87b8dbb
1 changed files with 3 additions and 5 deletions
|
|
@ -11,11 +11,6 @@ jobs:
|
||||||
HOME: /root
|
HOME: /root
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare environment
|
|
||||||
run: |
|
|
||||||
mkdir -p "$HOME"
|
|
||||||
rm -rf /homeless-shelter
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
|
|
@ -42,6 +37,9 @@ jobs:
|
||||||
- name: Flake check
|
- name: Flake check
|
||||||
run: nix flake check
|
run: nix flake check
|
||||||
|
|
||||||
|
- name: Remove homeless-shelter
|
||||||
|
run: rm -rf /homeless-shelter
|
||||||
|
|
||||||
- name: Build all hosts
|
- name: Build all hosts
|
||||||
run: |
|
run: |
|
||||||
nix flake show --json | jq -r '
|
nix flake show --json | jq -r '
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue