Skip to content

Commit

Permalink
Merge pull request #9 from ShammiL/workflows-shammi
Browse files Browse the repository at this point in the history
Add build workflows
  • Loading branch information
keizer619 authored Sep 12, 2024
2 parents d4254bb + 1aeb102 commit 81d77a9
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pull_request_ubuntu_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI - Pull request - Ubuntu

on:
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn clean install
21 changes: 21 additions & 0 deletions .github/workflows/push_ubuntu_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI - Push request - Ubuntu

on:
push:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn clean install

0 comments on commit 81d77a9

Please sign in to comment.