From c579fabb6ec1fd0d329bda691f8a9559f566daeb Mon Sep 17 00:00:00 2001 From: jneira Date: Tue, 18 Feb 2020 12:35:15 +0100 Subject: [PATCH] Try to generate hoogle twice to avoid 403 --- .azure/macos-stack.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.azure/macos-stack.yml b/.azure/macos-stack.yml index b582df838..4b0cfd90b 100644 --- a/.azure/macos-stack.yml +++ b/.azure/macos-stack.yml @@ -92,7 +92,8 @@ jobs: - bash: | source .azure/macos.bashrc stack build hoogle --stack-yaml=$(YAML_FILE) - stack exec hoogle generate --stack-yaml=$(YAML_FILE) + # This step frequently fails with http 403 + stack exec hoogle generate --stack-yaml=$(YAML_FILE) || stack exec hoogle generate --stack-yaml=$(YAML_FILE) displayName: "Install Runtime Test-Dependencies: hoogle database" - bash: | source .azure/macos.bashrc