From ac071b11498031606b3c00d2a32516a8eff37a72 Mon Sep 17 00:00:00 2001 From: Ahsan Date: Wed, 17 Jun 2026 16:56:38 +0600 Subject: [PATCH] fix: create artifacts dir before pulling OpenAPI spec in CI --- Taskfile.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Taskfile.yaml b/Taskfile.yaml index fdd655f..46be2ad 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -72,7 +72,8 @@ tasks: # language=bash - | echo -n "Pulling the latest OpenAPI spec... " - curl -s "${HYPERSTACK_API_SPEC_ADDRESS}" > "{{.API_SPEC_PATH}}" + mkdir -p "{{.DIR_ARTIFACTS}}" + curl -fsSL "${HYPERSTACK_API_SPEC_ADDRESS}" -o "{{.API_SPEC_PATH}}" echo "done" echo -n "Fixing api spec... " python3 "{{.SORT_SCHEMAS}}" "{{.API_SPEC_PATH}}"