Create temp UI file so that embed doesn't fail

This commit is contained in:
WithoutPants
2021-09-23 11:13:32 +10:00
committed by GitHub
parent 4a0c4c4847
commit 8d9eb7f1e4

View File

@@ -69,8 +69,13 @@ 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
- name: Validate
run: docker exec -t build /bin/bash -c "make fmt-check vet it"
run: |
mkdir ui/v2.5/build
touch ui/v2.5/build/dummy
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)