From b3085a247b9bf538cf3b634f5b3edf90149e455c Mon Sep 17 00:00:00 2001 From: Stijn Dejongh Date: Wed, 25 Sep 2024 05:08:50 +0200 Subject: [PATCH] Update github actions version --- .github/workflows/build.yml | 7 ------- .github/workflows/build_mainline.yml | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) 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