File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ jobs:
143143 merge :
144144 runs-on : ubuntu-latest
145145 needs : [build]
146- if : !cancelled()
146+ if : ${{ !cancelled() }}
147147 permissions :
148148 contents : read
149149 packages : write
@@ -233,9 +233,7 @@ jobs:
233233
234234 copy-to-dockerhub :
235235 runs-on : ubuntu-latest
236- if : >-
237- !cancelled() &&
238- (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
236+ if : ${{ !cancelled() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
239237 needs : [merge]
240238 continue-on-error : true
241239 strategy :
Original file line number Diff line number Diff line change 5656 !.git
5757 env :
5858 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59-
60- - name : Dispatch Docker build
61- uses : actions/github-script@v8
62- with :
63- script : |
64- github.rest.actions.createWorkflowDispatch({
65- owner: context.repo.owner,
66- repo: context.repo.repo,
67- workflow_id: 'docker.yaml',
68- ref: 'v${{ steps.pkg.outputs.version }}',
69- })
You can’t perform that action at this time.
0 commit comments