diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 3959c8ad7..11f0d1d5d 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -16,9 +16,10 @@ jobs: uses: actions/setup-java@v3 with: distribution: temurin + cache: gradle java-version: 17 - name: Build on ${{ matrix.os }} - run: ./gradlew clean build --no-daemon + run: ./gradlew build -s - name: Archive artifacts uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3b21f975b..f4287607f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,5 +1,7 @@ name: "CodeQL" on: + push: + branches: [main] pull_request: # The branches below must be a subset of the branches above branches: [main]