Browse Source

github: ignore cleanup failure, run only on self-hosted

pull/2/head
Alibek Omarov 3 years ago
parent
commit
7fbbe9f015
  1. 7
      .github/workflows/c-cpp.yml

7
.github/workflows/c-cpp.yml

@ -1,6 +1,11 @@
name: Build & Deploy Engine name: Build & Deploy Engine
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
cleanup:
runs-on: self-hosted
steps:
- name: Cleanup
run: rm -rf .* || true
build: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
continue-on-error: true continue-on-error: true
@ -42,8 +47,6 @@ jobs:
ANDROID_SDK_TOOLS_VER: 4333796 ANDROID_SDK_TOOLS_VER: 4333796
UPLOADTOOL_ISPRERELEASE: true UPLOADTOOL_ISPRERELEASE: true
steps: steps:
- name: Cleanup
run: rm -rf .*
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

Loading…
Cancel
Save