Skip to content

Class: GhaActionOutput

An output under an action’s outputs key.

URI: gha:ActionOutput

 classDiagram
    class GhaActionOutput
    click GhaActionOutput href "../GhaActionOutput/"
      GhaOutput <|-- GhaActionOutput
        click GhaOutput href "../GhaOutput/"
      
      GhaActionOutput : description
        
      GhaActionOutput : output_expression
        
      GhaActionOutput : output_id
        
      
Property Value
Class URI gha:ActionOutput
Name Cardinality and Range Description Inheritance
description 1
String
What the input, output or secret is for, as the file describes it GhaOutput
output_expression 0..1
String
The expression that sets the output, the file’s value key, such as one that… GhaOutput
output_id 1
GhaIdentifier
The key a caller reads the output by GhaOutput
used by used in type used
GhaAction outputs range GhaActionOutput
  • Only a composite action sets an output from an expression; a Docker or JavaScript action writes its outputs while it runs, so its outputs have no output_expression.
Mapping Type Mapped Value
self gha:ActionOutput
native gha:GhaActionOutput
name: GhaActionOutput
description: An output under an action's `outputs` key.
comments:
- Only a composite action sets an output from an expression; a Docker or JavaScript
action writes its outputs while it runs, so its outputs have no output_expression.
from_schema: https://w3id.org/lmodel/github-actions
see_also:
- https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax#outputs-for-docker-container-and-javascript-actions
- https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax#outputs-for-composite-actions
is_a: GhaOutput
slot_usage:
description:
name: description
required: true
class_uri: gha:ActionOutput
name: GhaActionOutput
description: An output under an action's `outputs` key.
comments:
- Only a composite action sets an output from an expression; a Docker or JavaScript
action writes its outputs while it runs, so its outputs have no output_expression.
from_schema: https://w3id.org/lmodel/github-actions
see_also:
- https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax#outputs-for-docker-container-and-javascript-actions
- https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax#outputs-for-composite-actions
is_a: GhaOutput
slot_usage:
description:
name: description
required: true
attributes:
description:
name: description
description: What the input, output or secret is for, as the file describes it.
comments:
- It means what LOKF's description means and carries the same IRI, so lokf adapt
folds it into LOKF's slot and a knowledge bundle reads one description key.
from_schema: https://w3id.org/lmodel/github-actions
rank: 1000
slot_uri: schema:description
owner: GhaActionOutput
domain_of:
- GhaInput
- GhaOutput
- GhaWorkflowSecret
range: string
required: true
output_expression:
name: output_expression
description: The expression that sets the output, the file's `value` key, such
as one that reads an output of a job or a step.
comments:
- A slot rather than an attribute because GhaWorkflowOutput refines it.
from_schema: https://w3id.org/lmodel/github-actions
rank: 1000
slot_uri: gha:output_expression
owner: GhaActionOutput
domain_of:
- GhaOutput
range: string
output_id:
name: output_id
description: The key a caller reads the output by.
from_schema: https://w3id.org/lmodel/github-actions/github_actions_core
rank: 1000
owner: GhaActionOutput
domain_of:
- GhaOutput
range: gha_identifier
required: true
class_uri: gha:ActionOutput