Skip to content

Commit

Permalink
Update maven.yml with cloning commons
Browse files Browse the repository at this point in the history
  • Loading branch information
isurucuma authored Mar 3, 2024
1 parent 930154f commit 7b26063
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,20 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven

- name: Clone and install dependencies for commons project
run: |
git clone https://github.com/career-opz/commons.git
cd commons
git config --local credential.helper store <<< "username=$(git config --get user.email) password=${{ secrets.REPO_ACCESS_TOKEN }}"
mvn clean install
- name: Build with Maven
run: mvn clean install

0 comments on commit 7b26063

Please sign in to comment.