We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ddbe4b commit cdcbd39Copy full SHA for cdcbd39
actions/get-resource/action.yml
@@ -10,6 +10,9 @@ inputs:
10
description: "GitHub repository containing the binary (format: owner/repo)"
11
required: false
12
default: "ctrlplanedev/cli"
13
+ resource_id:
14
+ description: "ID of the resource to get"
15
+ required: true
16
url:
17
description: "URL of the ctrlplane instance"
18
@@ -34,7 +37,7 @@ runs:
34
37
- name: Set Object Outputs
35
38
shell: bash
36
39
run: |
- RESOURCE=$(ctrlc get resource --id ${{ inputs.resource_id }})
40
+ RESOURCE=$(ctrlc api get resource --id ${{ inputs.resource_id }})
41
42
echo "resource=$RESOURCE" >> "$GITHUB_OUTPUT"
43
0 commit comments