Skip to content

Commit

Permalink
Improve name of input option
Browse files Browse the repository at this point in the history
  • Loading branch information
alecbcs committed Nov 18, 2024
1 parent 169fe79 commit 3519e6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ jobs:
needs: [ changes, container ]
uses: ./.github/workflows/outputs.yml
with:
container: ${{ needs.changes.outputs.container == 'true' }}
container_artifact: ${{ needs.changes.outputs.container == 'true' }}
6 changes: 3 additions & 3 deletions .github/workflows/outputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Generate outputs
on:
workflow_call:
inputs:
container:
container_artifact:
required: true
type: boolean

Expand Down Expand Up @@ -44,14 +44,14 @@ jobs:
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Download container if was previously created
if: github.event_name == 'pull_request' && inputs.container
if: github.event_name == 'pull_request' && inputs.container_artifact
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16
with:
name: tutorial-container
path: /tmp

- name: Import container from PR artifact
if: github.event_name == 'pull_request' && inputs.container
if: github.event_name == 'pull_request' && inputs.container_artifact
run: |
docker load --input /tmp/tutorial-container.tar
docker image ls -a
Expand Down

0 comments on commit 3519e6d

Please sign in to comment.