Update build.yml

This commit is contained in:
WithoutPants 2021-09-23 12:41:39 +10:00 committed by GitHub
parent 8d9eb7f1e4
commit cceaff780b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -69,13 +69,12 @@ jobs:
run: docker exec -t build /bin/bash -c "make ui-validate"
# TODO: Replace with `make validate` once `revive` is bundled in COMPILER_IMAGE
# create temporary UI file so that the embed doesn't fail
# create UI file so that the embed doesn't fail
- name: Validate
run: |
mkdir ui/v2.5/build
touch ui/v2.5/build/dummy
mkdir -p ui/v2.5/build
touch ui/v2.5/build/index.html
docker exec -t build /bin/bash -c "make fmt-check vet it"
rm -rf ui/v2.5/build
- name: Build UI
# skip UI build for pull requests if UI is unchanged (UI was cached)