Dagger
Search

actions-runtime

No long description provided.

Installation

dagger install github.com/aweris/gale/daggerverse/actions/runtime@051b8aec2704cd8a4e2a6633be658f8d4e16a893

Entrypoint

Return Type
ActionsRuntime
Example
func (m *myModule) example() *ActionsRuntime  {
	return dag.
			ActionsRuntime()
}
@function
def example() -> dag.ActionsRuntime:
	return (
		dag.actions_runtime()
	)
@func()
example(): ActionsRuntime {
	return dag
		.actionsRuntime()
}

Types

ActionsRuntime

run()

example usage: “dagger call container-echo –string-arg yo”

Return Type
ActionsRuntimeActionRun !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
repoStringKind -No description provided
tagStringKind -No description provided
branchStringKind -No description provided
usesStringKind !-No description provided
eventStringKind -No description provided
eventFileFile -No description provided
containerContainer -No description provided
runnerDebugBooleanKind -No description provided
tokenSecret -No description provided
Example
Function ActionsRuntime.run is not accessible from the actions-runtime module
func (m *myModule) example(uses )   {
	return dag.
			ActionsRuntime().
			Run(uses)
}
@function
def example(uses: ) -> :
	return (
		dag.actions_runtime()
		.run(uses)
	)
@func()
example(uses: ):  {
	return dag
		.actionsRuntime()
		.run(uses)
}

ActionsRuntimeActionRun

config()

Return Type
ActionsRuntimeActionRunConfig !
Example
Function ActionsRuntimeActionRun.Config is not accessible from the actions-runtime module
Function ActionsRuntimeActionRun.Config is not accessible from the actions-runtime module
Function ActionsRuntimeActionRun.Config is not accessible from the actions-runtime module
Function ActionsRuntimeActionRun.Config is not accessible from the actions-runtime module

withEnv()

Return Type
ActionsRuntimeActionRun !
Arguments
NameTypeDefault ValueDescription
nameStringKind !-No description provided
valueStringKind !-No description provided
Example
Function ActionsRuntimeActionRun.withEnv is not accessible from the actions-runtime module
Function ActionsRuntimeActionRun.withEnv is not accessible from the actions-runtime module
Function ActionsRuntimeActionRun.withEnv is not accessible from the actions-runtime module
Function ActionsRuntimeActionRun.withEnv is not accessible from the actions-runtime module

withInput()

Return Type
ActionsRuntimeActionRun !
Arguments
NameTypeDefault ValueDescription
nameStringKind !-No description provided
valueStringKind !-No description provided
Example
Function ActionsRuntimeActionRun.withInput is not accessible from the actions-runtime module
Function ActionsRuntimeActionRun.withInput is not accessible from the actions-runtime module
Function ActionsRuntimeActionRun.withInput is not accessible from the actions-runtime module
Function ActionsRuntimeActionRun.withInput is not accessible from the actions-runtime module

sync()

Return Type
Container !
Example
Function ActionsRuntimeActionRun.sync is not accessible from the actions-runtime module
Function ActionsRuntimeActionRun.sync is not accessible from the actions-runtime module
Function ActionsRuntimeActionRun.sync is not accessible from the actions-runtime module
Function ActionsRuntimeActionRun.sync is not accessible from the actions-runtime module

ActionsRuntimeActionRunConfig

source()

Directory containing the repository source.

Return Type
Directory !
Example
Function ActionsRuntimeActionRunConfig.Source is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Source is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Source is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Source is not accessible from the actions-runtime module

repo()

Name of the repository. Format: owner/name.

Return Type
StringKind !
Example
Function ActionsRuntimeActionRunConfig.Repo is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Repo is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Repo is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Repo is not accessible from the actions-runtime module

branch()

Branch name to check out. Only one of branch or tag can be used. Precedence: tag, branch.

Return Type
StringKind !
Example
Function ActionsRuntimeActionRunConfig.Branch is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Branch is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Branch is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Branch is not accessible from the actions-runtime module

tag()

Tag name to check out. Only one of branch or tag can be used. Precedence: tag, branch.

Return Type
StringKind !
Example
Function ActionsRuntimeActionRunConfig.Tag is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Tag is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Tag is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Tag is not accessible from the actions-runtime module

uses()

The action to run. it should be in the format of @

Return Type
StringKind !
Example
Function ActionsRuntimeActionRunConfig.Uses is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Uses is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Uses is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Uses is not accessible from the actions-runtime module

env()

Environment variables for the action. Format: name=value.

Return Type
[StringKind ! ] !
Example
Function ActionsRuntimeActionRunConfig.Env is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Env is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Env is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Env is not accessible from the actions-runtime module

with()

Input parameters for the action. Format: name=value.

Return Type
[StringKind ! ] !
Example
Function ActionsRuntimeActionRunConfig.With is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.With is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.With is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.With is not accessible from the actions-runtime module

event()

Name of the event that triggered the workflow. e.g. push

Return Type
StringKind !
Example
Function ActionsRuntimeActionRunConfig.Event is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Event is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Event is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Event is not accessible from the actions-runtime module

eventFile()

File with the complete webhook event payload.

Return Type
File !
Example
Function ActionsRuntimeActionRunConfig.EventFile is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.EventFile is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.EventFile is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.EventFile is not accessible from the actions-runtime module

container()

Container to use for the runner.

Return Type
Container !
Example
Function ActionsRuntimeActionRunConfig.Container is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Container is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Container is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Container is not accessible from the actions-runtime module

runnerDebug()

Enables debug mode.

Return Type
BooleanKind !
Example
Function ActionsRuntimeActionRunConfig.RunnerDebug is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.RunnerDebug is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.RunnerDebug is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.RunnerDebug is not accessible from the actions-runtime module

token()

GitHub token to use for authentication.

Return Type
Secret !
Example
Function ActionsRuntimeActionRunConfig.Token is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Token is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Token is not accessible from the actions-runtime module
Function ActionsRuntimeActionRunConfig.Token is not accessible from the actions-runtime module