From d4576249ac877bd3ceb2356b3942fa0c6aaba675 Mon Sep 17 00:00:00 2001 From: 33 Date: Tue, 27 Jun 2023 14:31:22 +0800 Subject: [PATCH] fix: pull request won't run upload --- .github/workflows/common.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml index c5e30c6..78a3e82 100644 --- a/.github/workflows/common.yml +++ b/.github/workflows/common.yml @@ -46,6 +46,7 @@ jobs: path: build/libs Upload: + if: inputs.publish-task needs: build-common continue-on-error: true strategy: @@ -155,7 +156,7 @@ jobs: #generate_release_notes: true files: ${{ steps.cslenv-github.outputs.pathlist }} - - if: ${{ matrix.website == 'TencentCOS' && inputs.publish-task }} + if: ${{ matrix.website == 'TencentCOS' }} name: 【TencentCOS】 Publish env: COS_BUCKET: ${{ secrets.COS_BUCKET }}