-
Notifications
You must be signed in to change notification settings - Fork 9
/
action.yml
34 lines (34 loc) · 1.28 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright (c) 2021, 2024 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
---
name: Run an Oracle Cloud Infrastructure (OCI) CLI command
description: Run an Oracle Cloud Infrastructure (OCI) CLI command
inputs:
command:
description: >-
The command and arguments to provide to the "oci" tool. Most commands specify a service, followed by a resource
type and then an action, e.g. "iam user list --compartment-id <compartment-ocid>"
required: true
query:
description: >-
(Optional) JMESPath query [http://jmespath.org/] to run on the response JSON before output.
required: false
default: ''
silent:
description: >-
(Default: true) If set to 'False', will stream the output of the command directly to the log. This may leak
confidential information. We recomment keep this as false except for debugging purposes.
required: false
default: 'True'
outputs:
output:
description: Response output in JSON format
raw_output:
description: >-
If the output of a given query is a single string value, this will return the string without surrounding quotes.
branding:
icon: 'circle'
color: 'red'
runs:
using: 'node20'
main: 'dist/index.js'