From 80c89daff603f53fd84ca61128999d2508dcfd07 Mon Sep 17 00:00:00 2001 From: iammmmmmm <2946649116@qq.com> Date: Sat, 14 Sep 2024 10:12:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:action=E9=87=8C=E7=9A=84jdk=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/android.yml | 2 +- .github/workflows/linux.yml | 8 +++++++- .github/workflows/windows.yml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 1ccaa31..e14188f 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -19,7 +19,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '21' + java-version: '23' - name: Install libraries run: | diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index cccb2fe..abd342a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: # Checkout your code - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Make sure the latest GraalVM is installed. # after this step env.JAVA_HOME and env.GRAALVM_HOME will point to the GraalVM location @@ -19,6 +19,12 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Setup Java + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '23' + # Install extra required packaged on top of ubuntu-latest - name: Install libraries run: sudo apt install libasound2-dev libavcodec-dev libavformat-dev libavutil-dev libgl-dev libgtk-3-dev libpango1.0-dev libxtst-dev diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 77463ba..af8b889 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -8,7 +8,7 @@ jobs: build: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v1.0.2