fix: pull request won't run upload

This commit is contained in:
33 committed 2023-06-27 14:31:22 +08:00
1 parent dfe47f7c64
commit d4576249ac
1 file changed
+2 -1
+2 -1
View File
@@ -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 }}