merge validate_static into process_static

This commit is contained in:
Daniel Micay
2021-11-18 17:49:55 -05:00
parent 3820dda708
commit 61e1358202
4 changed files with 8 additions and 25 deletions

View File

@@ -30,14 +30,11 @@ 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.
# from the GitHub releases and change the process-static script later to use it.
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
- name: validate static
run: ./validate-static
- run: sed -i 's+validatornu+vnu-runtime-image/bin/vnu+g' process-static
- name: process static
run: ./process-static