diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index c0aedae..590ca55 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -13,11 +13,11 @@ jobs: # 作业包含一系列任务,称为 steps steps: - uses: actions/checkout@v2 - - name: Set up JDK 21 + - name: Set up JDK 9 uses: actions/setup-java@v2 with: - java-version: '1.8' - distribution: 'adopt' + java-version: '8.0.402+6' + distribution: 'oracle' # maven缓存,不加的话每次都会去重新拉取,会影响速度 - name: Dependies Cache uses: actions/cache@v2