File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,8 +103,8 @@ jobs:
103
103
needs : [upload-art]
104
104
# 通过 push 触发的 CI 通过 env 调控。
105
105
env :
106
- DEPLOY_DENO_PUSH : ' true'
107
- if : ${{ inputs.deno }} || ( github.event_name == 'push' && env.DEPLOY_DENO_PUSH == 'true' )
106
+ DEPLOY_DENO_PUSH : true
107
+ if : ${{ inputs.deno }} || ( ${{ github.event_name == 'push' }} && ${{ env.DEPLOY_DENO_PUSH == 'true' }} )
108
108
runs-on : ubuntu-latest
109
109
permissions :
110
110
id-token : write
@@ -123,8 +123,8 @@ jobs:
123
123
release-docker :
124
124
needs : [test-docker]
125
125
env :
126
- DEPLOY_DOCKER_PUSH : ' false'
127
- if : ${{ inputs.docker }} || ( github.event_name == 'push' && env.DEPLOY_DOCKER_PUSH == 'true' )
126
+ DEPLOY_DOCKER_PUSH : false
127
+ if : ${{ inputs.docker }} || ( ${{ github.event_name == 'push' }} && ${{ env.DEPLOY_DOCKER_PUSH == 'true' }} )
128
128
runs-on : ubuntu-latest
129
129
130
130
steps :
You can’t perform that action at this time.
0 commit comments