Skip to content

Commit

Permalink
add github workflow for catalog-service
Browse files Browse the repository at this point in the history
  • Loading branch information
azdanov committed Apr 27, 2024
1 parent 59da8e8 commit a1f2fe8
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/catalog-service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Catalog Service
on:
push:
paths:
- catalog-service/**
branches:
- '**'
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
working-directory: ./catalog-service
defaults:
run:
working-directory: ${{ env.working-directory }}
steps:
- uses: actions/checkout@v4
- name: Setup Java 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: ./mvnw -ntp verify
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<artifactId>bookstore</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>bookstore-microservices</name>
<name>bookstore</name>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down

0 comments on commit a1f2fe8

Please sign in to comment.