Skip to content

Commit

Permalink
IGNITE-20466 Try optimize maven cache for branch sonar job
Browse files Browse the repository at this point in the history
  • Loading branch information
skorotkov committed Jul 24, 2024
1 parent 0b3bab9 commit 4e3e988
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/sonar-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ jobs:
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar

- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
# - name: Cache Maven packages
# uses: actions/cache@v4
# with:
# path: ~/.m2
# key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
# restore-keys: ${{ runner.os }}-m2

- name: Install Libnuma
run: sudo apt-get update && sudo apt-get install libnuma-dev
Expand All @@ -71,7 +71,7 @@ jobs:
with:
distribution: 'temurin'
java-version: 17
cache: 'maven'
# cache: 'maven'

- name: Sonar Analyze Upload
run: >
Expand Down

0 comments on commit 4e3e988

Please sign in to comment.