Skip to content

Commit

Permalink
fix : pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli authored Nov 16, 2023
1 parent fe952d7 commit d9c26b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 22 deletions.
16 changes: 5 additions & 11 deletions payment-service/.github/workflows/maven-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up JDK 11
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v3.13.0
with:
java-version: 11
java-version: 17
distribution: 'zulu'
cache: 'maven'

- name: Grant execute permission for mvnw
run: chmod +x mvnw

- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: ./mvnw clean install
16 changes: 5 additions & 11 deletions payment-service/.github/workflows/maven-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up JDK 11
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v3.13.0
with:
java-version: 11
java-version: 17
distribution: 'zulu'
cache: 'maven'

- name: Grant execute permission for mvnw
run: chmod +x mvnw

- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: ./mvnw clean verify

0 comments on commit d9c26b3

Please sign in to comment.