skip ci in commit message condition check (#3902)
* skip ci condition check * always Validate Gradle Wrapper * naming workflow jobs (cherry picked from commit 6aea0f48ed439ef321f7ce84e3092f6904408ce9) # Conflicts: # .github/workflows/build_check.yml
This commit is contained in:
parent
8e27ffcad7
commit
f0e2367071
15
.github/workflows/build_check.yml
vendored
15
.github/workflows/build_check.yml
vendored
@ -1,8 +1,9 @@
|
||||
name: Build check
|
||||
name: CI
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
check_wrapper:
|
||||
name: Validate Gradle Wrapper
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@ -12,6 +13,16 @@ jobs:
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/wrapper-validation-action@v1
|
||||
|
||||
build:
|
||||
name: Build app
|
||||
needs: check_wrapper
|
||||
if: "!startsWith(github.event.head_commit.message, '[SKIP CI]')"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Clone repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user