Skip to content

Commit

Permalink
github action for eventbus publish - initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
harshaghanta committed Dec 25, 2024
1 parent ae9779f commit 9ac802c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/eventbus-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Build and publish eventbus to github packages"
on:
workflow_dispatch:
push:
branches:
- main

paths:
- src/BuildingBlocks/EventBus/eventbus/**
- .github/workflows/eventbus-publish.yml

jobs:
BuildEventBus:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup JDK 17
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'

- name: Unit Tests
run: mvn -B test -f src/BuildingBlocks/EventBus/eventbus/pom.xml

- name: Build & Package
run: mvn -B package -f src/BuildingBlocks/EventBus/eventbus/pom.xml

0 comments on commit 9ac802c

Please sign in to comment.