diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 20cc2de82f..d224ea2878 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -22,12 +22,13 @@ jobs: runs-on: ${{ matrix.runs-on }} steps: - uses: actions/checkout@v3 + with: + persist-credentials: false - name: Set up JDK ${{ matrix.java-version }} uses: actions/setup-java@v3 with: java-version: ${{ matrix.java-version }} distribution: "temurin" cache: maven - persist-credentials: false - name: Build and run tests with Maven run: mvn --batch-mode --update-snapshots verify