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

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


The following commit(s) were added to refs/heads/master by this push:
     new a4d5d6b2 fix: update pr commit check (#450)
a4d5d6b2 is described below

commit a4d5d6b217f82a5f39bd932edd410c19ae545f71
Author: gaoxh <[email protected]>
AuthorDate: Mon Sep 9 14:20:34 2024 +0800

    fix: update pr commit check (#450)
    
    * feat: add pr compilation check process
    
    * fix: update pr commit check process
    
    ---------
    
    Co-authored-by: gaoxihui <[email protected]>
---
 .github/workflows/build-pr-commit.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build-pr-commit.yml 
b/.github/workflows/build-pr-commit.yml
index 1e5d96f8..c0bda751 100644
--- a/.github/workflows/build-pr-commit.yml
+++ b/.github/workflows/build-pr-commit.yml
@@ -14,10 +14,13 @@ jobs:
     runs-on: ubuntu-latest
 
     steps:
-      - name: Setup Maven Action
-        uses: s4u/[email protected]
+      - uses: actions/checkout@v4
+      - name: Set up JDK 21
+        uses: actions/setup-java@v4
         with:
           java-version: 21
+          distribution: 'zulu'
+          cache: maven
 
       - run: echo '<settings>    <interactiveMode>false</interactiveMode>    
<profiles>        <profile>            <repositories>                
<repository>                    <snapshots />                    <id>ossrh</id> 
                   <name>ossrh-snapshot</name>                    
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>          
      </repository>            </repositories>            <pluginRepositories>  
              <pluginRepository>         [...]
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to