Skip to content

Commit

Permalink
build(ci): build on push and skip build for some paths
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed Aug 18, 2020
1 parent 41e6ae8 commit 7504750
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/pr-build.yml → .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,33 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: Build PR
name: Build

on:
push:
branches:
- master
paths-ignore:
- '**.adoc'
- 'KEYS'
- 'LICENSE'
- 'NOTICE'
- 'Jenkinsfile'
pull_request:
branches:
- master
paths-ignore:
- '**.adoc'
- 'KEYS'
- 'LICENSE'
- 'NOTICE'
- 'Jenkinsfile'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
- name: Set up JDK 11
uses: AdoptOpenJDK/install-jdk@v1
with:
version: '11'
Expand All @@ -47,7 +62,7 @@ jobs:
- '14'
steps:
- uses: actions/checkout@v2
- name: Set up JDK - ${{ matrix.java }}
- name: Set up JDK - ${{ matrix.java }}
uses: AdoptOpenJDK/install-jdk@v1
with:
version: ${{ matrix.java }}
Expand Down

0 comments on commit 7504750

Please sign in to comment.