From 7fbbe9f015aa39ee4bb2ecf96f000f72062a6d4e Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 4 Jan 2022 02:18:41 +0300 Subject: [PATCH] github: ignore cleanup failure, run only on self-hosted --- .github/workflows/c-cpp.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 1ec1542d..60dbc618 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -1,6 +1,11 @@ name: Build & Deploy Engine on: [push, pull_request] jobs: + cleanup: + runs-on: self-hosted + steps: + - name: Cleanup + run: rm -rf .* || true build: runs-on: ${{ matrix.os }} continue-on-error: true @@ -42,8 +47,6 @@ jobs: ANDROID_SDK_TOOLS_VER: 4333796 UPLOADTOOL_ISPRERELEASE: true steps: - - name: Cleanup - run: rm -rf .* - name: Checkout uses: actions/checkout@v2 with: