From 8df7c43d642f6dc1a2aa91c84c52a3cbce420eb2 Mon Sep 17 00:00:00 2001 From: Pil0tXia Date: Fri, 5 Jan 2024 14:58:25 +0800 Subject: [PATCH] sync CI change in https://github.com/apache/eventmesh/pull/4722 --- .github/workflows/ci.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d47514b..dba06dcd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,19 +40,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Cache Gradle packages - uses: actions/cache@v3 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: ${{ runner.os }}-gradle- + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v3 with: - distribution: 'zulu' + distribution: 'corretto' java-version: ${{ matrix.java }} - name: Build