From d3c129f851b68250d741e705d28380a513ee2892 Mon Sep 17 00:00:00 2001 From: Jared Hendrickson Date: Sat, 18 May 2024 22:52:38 -0600 Subject: [PATCH] ci: fix variable references in documentation workflow --- .github/workflows/documentation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 383978b80..87cac730b 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -143,9 +143,9 @@ jobs: - name: Build Swagger UI run: | mkdir -p ./www/api-docs/ - wget -O /tmp/swagger.tar.gz https://github.com/swagger-api/swagger-ui/archive/refs/tags/v${env.SWAGGER_UI_VERSION}.tar.gz + wget -O /tmp/swagger.tar.gz https://github.com/swagger-api/swagger-ui/archive/refs/tags/v${{ env.SWAGGER_UI_VERSION }}.tar.gz tar -xzf /tmp/swagger.tar.gz -C /tmp/ - cp -r /tmp/swagger-ui-${env.SWAGGER_UI_VERSION}/dist/* ./www/api-docs/ + cp -r /tmp/swagger-ui-${{ env.SWAGGER_UI_VERSION }}/dist/* ./www/api-docs/ cp openapi.json ./www/api-docs/openapi.json echo 'window.onload = function() { window.ui = SwaggerUIBundle({