Skip to content

Commit

Permalink
fix(ci): jq wants a string in the error
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Apr 30, 2024
1 parent e2b263e commit 1803386
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/buildjet-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ jobs:
.elements
| keys
| map(select(. != "nix"))
| if . != [] then error(.) else . end
| if . != [] then error("The registry contains not only Nix") else . end
'
- name: Install nixpkgs#poetry
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
.elements
| keys
| map(select(. != "nix"))
| if . != [] then error(.) else . end
| if . != [] then error("The registry contains not only Nix") else . end
'
- name: Install nixpkgs#poetry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ jobs:
.elements
| keys
| map(select(. != "nix"))
| if . != [] then error(.) else . end
| if . != [] then error("The registry contains not only Nix") else . end
'
- name: Install nixpkgs#poetry
Expand Down Expand Up @@ -270,7 +270,7 @@ jobs:
.elements
| keys
| map(select(. != "nix"))
| if . != [] then error(.) else . end
| if . != [] then error("The registry contains not only Nix") else . end
'
- name: Install nixpkgs#poetry
Expand Down
2 changes: 1 addition & 1 deletion nix/ci.nix
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ in
.elements
| keys
| map(select(. != "nix"))
| if . != [] then error(.) else . end
| if . != [] then error("The registry contains not only Nix") else . end
'
- name: Install nixpkgs#poetry
Expand Down

0 comments on commit 1803386

Please sign in to comment.