Skip to content

Commit

Permalink
Add a skip command for CI
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
HopeBaron committed Jun 20, 2020
1 parent 96c7982 commit f807c72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
if: "!contains(github.event.commits[0].message, '[skip ci]')"
runs-on: ubuntu-latest
env:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
Expand All @@ -29,7 +30,7 @@ jobs:
steps:

- run: export GRADLE_USER_HOME=`pwd`/.gradle
- run: echo ::set-output name=RELEASE_TAG::${GITHUB_REF/refs\/tags\//}
- run: echo ::set-env name=RELEASE_TAG::${GITHUB_REF#refs/tags/}

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
Expand Down

0 comments on commit f807c72

Please sign in to comment.