diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9f5ca1e..afae036 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,13 +30,6 @@ jobs: - name: Branch name run: echo running on branch ${GITHUB_REF#refs/heads/} - - name: Cache Maven packages - uses: actions/cache@v1 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2 - - name: Cache Maven packages uses: actions/cache@v3 with: diff --git a/.github/workflows/build_mainline.yml b/.github/workflows/build_mainline.yml index f377b11..0e95727 100755 --- a/.github/workflows/build_mainline.yml +++ b/.github/workflows/build_mainline.yml @@ -17,6 +17,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} # Needed to get PR information, if any with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis ref: ${{ github.head_ref }} - name: Set up JDK 21