This is an automated email from the ASF dual-hosted git repository.

shoothzj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 0f4dfcf91c build: fix OWASP GitHub daily workflow (#4357)
0f4dfcf91c is described below

commit 0f4dfcf91c8046651466c2882f12374527c39c5e
Author: ZhangJian He <[email protected]>
AuthorDate: Sat May 11 10:55:14 2024 +0800

    build: fix OWASP GitHub daily workflow (#4357)
    
    Signed-off-by: ZhangJian He <[email protected]>
---
 .github/workflows/bk-ci.yml             | 5 -----
 .github/workflows/codeql.yml            | 5 -----
 .github/workflows/owasp-daily-build.yml | 8 ++------
 3 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/.github/workflows/bk-ci.yml b/.github/workflows/bk-ci.yml
index f14e2e2578..22cde4ec10 100644
--- a/.github/workflows/bk-ci.yml
+++ b/.github/workflows/bk-ci.yml
@@ -507,11 +507,6 @@ jobs:
         with:
           java-version: 11
 
-      - name: Set up Maven
-        uses: apache/pulsar-test-infra/setup-maven@master
-        with:
-          maven-version: 3.8.7
-
       - name: run "clean install verify" to trigger dependency check
         # excluding dlfs because it includes hadoop lib with
         # CVEs that we cannot patch up anyway
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 3c2d81b2d2..c0ffe00a35 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -84,11 +84,6 @@ jobs:
         distribution: 'temurin'
         java-version: 11
 
-    - name: Set up Maven
-      uses: apache/pulsar-test-infra/setup-maven@master
-      with:
-        maven-version: 3.8.7
-
     - name: Validate pull request
       if: steps.check_changes.outputs.docs_only != 'true'
       run: |
diff --git a/.github/workflows/owasp-daily-build.yml 
b/.github/workflows/owasp-daily-build.yml
index 8c0f3ad82c..88dea1712c 100644
--- a/.github/workflows/owasp-daily-build.yml
+++ b/.github/workflows/owasp-daily-build.yml
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-name: JDK 21 Daily Build
+name: OWASP Daily Build
 
 on:
   schedule:
@@ -35,13 +35,9 @@ jobs:
       - name: Set up JDK 21
         uses: actions/setup-java@v4
         with:
+          distribution: 'temurin'
           java-version: 21
 
-      - name: Set up Maven
-        uses: apache/pulsar-test-infra/setup-maven@master
-        with:
-          maven-version: 3.8.7
-
       - name: run "clean install verify" to trigger dependency check
         # excluding dlfs because it includes hadoop lib with
         # CVEs that we cannot patch up anyway

Reply via email to