From 3278595b30eae110f5c4db641e75c470feb0151f Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 30 Sep 2021 00:56:08 -0400 Subject: [PATCH] use curl instead of wget for workflow --- .github/workflows/static.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index fd242b98..c1e488cb 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -31,7 +31,7 @@ jobs: - name: Download validatornu # There isn't a package with a `validatornu` command in Ubuntu, so download the validator # from the GitHub releases and change the validate-static script later to use it. - run: wget https://github.com/validator/validator/releases/download/${{ env.VALIDATOR_VERSION }}/vnu.linux.zip && unzip vnu.linux.zip + run: curl -OL https://github.com/validator/validator/releases/download/${{ env.VALIDATOR_VERSION }}/vnu.linux.zip && unzip vnu.linux.zip if: steps.validator-cache.outputs.cache-hit != 'true' - run: sed -i 's+validatornu+vnu-runtime-image/bin/vnu+g' validate-static