File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: Replace the Checkout able to work either from an artifact or a git
44inputs :
55 artifact-id :
66 description : The artifact-id to download and unpack. If not given, a standard git checkout is ran
7- required : true
7+ required : false
88 path :
99 description : Where to checkout to
1010 default : ' '
1616 uses : actions/checkout@v5
1717 with :
1818 path : ${{ inputs.path }}
19- if : ! inputs.artifact-id
19+ if : inputs.artifact-id || false
2020 - name : Download artifact
2121 id : download
2222 if : inputs.artifact-id
2525 artifact-id : ${{ inputs.artifact-id }}
2626 - name : Unpack it
2727 shell : bash
28- if : inputs.artifact-id
28+ if : inputs.artifact-id || false
2929 run : |
3030 tar -C ${{ inputs.path || '.' }} -p1 -zxf "${{ steps.download.outputs.download-path }}"
You can’t perform that action at this time.
0 commit comments