Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Jan 1, 2023
1 parent daaa750 commit 209df2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inputs:
local:
description: 'Copy from local to container'
required: false
default: 'false'
default: 'true'
options:
description: 'Additional options'
required: false
Expand All @@ -26,7 +26,7 @@ runs:
- name: Docker copy
shell: bash
run: |
if [ "${{ inputs.local }}" = "true" ]; then
if [ "${{ inputs.local }}" != "true" ]; then
docker cp ${{ inputs.options }} ${{ inputs.source }} ${{ inputs.container }}:${{ inputs.destination }}
else
docker cp ${{ inputs.options }} ${{ inputs.container }}:${{ inputs.source }} ${{ inputs.destination }}
Expand Down

0 comments on commit 209df2d

Please sign in to comment.