Skip to content

Commit d38f116

Browse files
committed
hack hack hack
Signed-off-by: Brian Harring <ferringb@gmail.com>
1 parent 6ca0c81 commit d38f116

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/actions/checkout/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Replace the Checkout able to work either from an artifact or a git
44
inputs:
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: ''
@@ -16,7 +16,7 @@ runs:
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
@@ -25,6 +25,6 @@ runs:
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 }}"

0 commit comments

Comments
 (0)