Skip to content

Commit 96476af

Browse files
authored
Fail import if warmup fails (#1220)
Towards #1197
1 parent be1df93 commit 96476af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/import-to-elasticsearch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
run: |
7575
for i in 1 2 3
7676
do
77-
curl -sS ${{ secrets.ELASTICSEARCH_URL2 }}/latest-$(nix eval --raw --file ./version.nix import)-nixos-${{ matrix.channel }}/_search | jq -c '.took // .'
77+
curl -sS ${{ secrets.ELASTICSEARCH_URL2 }}/latest-$(nix eval --raw --file ./version.nix import)-nixos-${{ matrix.channel }}/_search | jq -ce '.took // error'
7878
done
7979
8080
- name: Create issue if failed

0 commit comments

Comments
 (0)