File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 needs : [ changes, container ]
6161 uses : ./.github/workflows/outputs.yml
6262 with :
63- with_pr_container : ${{ needs.container.result == " success" }}
63+ with_pr_container : ${{ needs.container.result == ' success' }}
6464
6565 style :
6666 if : ${{ needs.changes.outputs.style == 'true' }}
Original file line number Diff line number Diff line change 44 inputs :
55 with_pr_container :
66 required : true
7- type : string
7+ type : boolean
88
99jobs :
1010 re-generate :
@@ -44,14 +44,14 @@ jobs:
4444 repository : ${{ github.event.pull_request.head.repo.full_name }}
4545
4646 - name : Download container from artifact if PR
47- if : github.event_name == 'pull_request' && inputs.with_pr_container == 'true'
47+ if : github.event_name == 'pull_request' && inputs.with_pr_container
4848 uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16
4949 with :
5050 name : tutorial-container
5151 path : /tmp
5252
5353 - name : Import container from PR artifact
54- if : github.event_name == 'pull_request' && inputs.with_pr_container == 'true'
54+ if : github.event_name == 'pull_request' && inputs.with_pr_container
5555 run : |
5656 docker load --input /tmp/tutorial-container.tar
5757 docker image ls -a
You can’t perform that action at this time.
0 commit comments