From cf8d1473b3f80d38fd381ed0f0c9a4346e731234 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 9 Mar 2022 08:42:17 +1100 Subject: [PATCH] CI: fail cygwin build if we don't get the binaries --- .github/workflows/cygwin_build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/cygwin_build.yml b/.github/workflows/cygwin_build.yml index d737fa6297..2febbe38af 100644 --- a/.github/workflows/cygwin_build.yml +++ b/.github/workflows/cygwin_build.yml @@ -27,6 +27,13 @@ jobs: run: | C:\Cygwin\bin\bash --login -c "Tools/scripts/cygwin_build.sh" + - name: Check build files + id: check_files + uses: andstor/file-existence-action@v1 + with: + files: "artifacts/ArduPlane.elf.exe, artifacts/ArduCopter.elf.exe, artifacts/ArduHeli.elf.exe, artifacts/ArduRover.elf.exe, artifacts/ArduSub.elf.exe" + allow_failure: true + - name: Archive build uses: actions/upload-artifact@v2 with: