readme update #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Java build with Maven | |
| on: | |
| push: | |
| branches: ["main"] | |
| # paths is just the condition - start the action if a push commit is made on the main branch and affects these files | |
| paths: | |
| - "analytics-service/**" | |
| - "api-gateway/**" | |
| - "auth-service/**" | |
| - "billing-service/**" | |
| - "patient-service/**" | |
| - "infrastructure/**" | |
| jobs: | |
| # name of the job | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: set up jdk-21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build the application | |
| run: | | |
| mvn install -f analytics-service/pom.xml | |
| mvn install -f api-gateway/pom.xml | |
| mvn install -f auth-service/pom.xml | |
| mvn install -f billing-service/pom.xml | |
| mvn install -f patient-service/pom.xml |