Skip to content

Commit cdcbd39

Browse files
committed
bump verion
1 parent 6ddbe4b commit cdcbd39

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

actions/get-resource/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ inputs:
1010
description: "GitHub repository containing the binary (format: owner/repo)"
1111
required: false
1212
default: "ctrlplanedev/cli"
13+
resource_id:
14+
description: "ID of the resource to get"
15+
required: true
1316
url:
1417
description: "URL of the ctrlplane instance"
1518
required: false
@@ -34,7 +37,7 @@ runs:
3437
- name: Set Object Outputs
3538
shell: bash
3639
run: |
37-
RESOURCE=$(ctrlc get resource --id ${{ inputs.resource_id }})
40+
RESOURCE=$(ctrlc api get resource --id ${{ inputs.resource_id }})
3841
3942
echo "resource=$RESOURCE" >> "$GITHUB_OUTPUT"
4043

0 commit comments

Comments
 (0)