Skip to content

Commit 3519e6d

Browse files
committed
Improve name of input option
1 parent 169fe79 commit 3519e6d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ jobs:
5858
needs: [ changes, container ]
5959
uses: ./.github/workflows/outputs.yml
6060
with:
61-
container: ${{ needs.changes.outputs.container == 'true' }}
61+
container_artifact: ${{ needs.changes.outputs.container == 'true' }}

.github/workflows/outputs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Generate outputs
22
on:
33
workflow_call:
44
inputs:
5-
container:
5+
container_artifact:
66
required: true
77
type: boolean
88

@@ -44,14 +44,14 @@ jobs:
4444
repository: ${{ github.event.pull_request.head.repo.full_name }}
4545

4646
- name: Download container if was previously created
47-
if: github.event_name == 'pull_request' && inputs.container
47+
if: github.event_name == 'pull_request' && inputs.container_artifact
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.container
54+
if: github.event_name == 'pull_request' && inputs.container_artifact
5555
run: |
5656
docker load --input /tmp/tutorial-container.tar
5757
docker image ls -a

0 commit comments

Comments
 (0)