From 4d0ebcc1f7c59192132b48cf191cbcd462c233cd Mon Sep 17 00:00:00 2001 From: 8Mi_Yile Date: Sun, 12 Jan 2025 00:08:29 +0800 Subject: [PATCH] Update common.yml (#323) --- .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"