From ac7d9e89c107538a3dd129d17fa2ede49d980188 Mon Sep 17 00:00:00 2001 From: 8Mi_Yile Date: Sat, 4 Jan 2025 16:09:58 +0800 Subject: [PATCH] Update common.yml --- .github/workflows/common.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml index 3db4d84..08cc382 100644 --- a/.github/workflows/common.yml +++ b/.github/workflows/common.yml @@ -171,7 +171,7 @@ jobs: prerelease: true body_path: build/ci-build.md files: build/libs/* - #iles: "${{ steps.cslenv-github.outputs.pathlist }}" + #files: "${{ steps.cslenv-github.outputs.pathlist }}" - if: ${{ matrix.website == 'GitHub-Release' && inputs.type == 'Release' }} uses: softprops/action-gh-release@v1 @@ -182,6 +182,14 @@ jobs: tag_name: ${{ github.ref }} #generate_release_notes: true files: ${{ steps.cslenv-github.outputs.pathlist }} + - + if: ${{ matrix.website == 'ObjectStorage' }} + name: "[ObjectStorage] Force JDK 8" + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '8' + cache: 'gradle' - if: ${{ matrix.website == 'ObjectStorage' }} name: "[ObjectStorage] Publish"