github: ignore cleanup failure, run only on self-hosted
This commit is contained in:
parent
46fd27eb14
commit
7fbbe9f015
1 changed files with 5 additions and 2 deletions
7
.github/workflows/c-cpp.yml
vendored
7
.github/workflows/c-cpp.yml
vendored
|
@ -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…
Add table
Reference in a new issue