actions-runtime
No long description provided.
Installation
dagger install github.com/aweris/gale/daggerverse/actions/runtime@051b8aec2704cd8a4e2a6633be658f8d4e16a893Entrypoint
Return Type
ActionsRuntime Example
dagger -m github.com/aweris/gale/daggerverse/actions/runtime@051b8aec2704cd8a4e2a6633be658f8d4e16a893 call \
func (m *MyModule) Example() *dagger.ActionsRuntime {
return dag.
ActionsRuntime()
}@function
def example() -> dagger.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
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory | - | No description provided |
| repo | StringKind | - | No description provided |
| tag | StringKind | - | No description provided |
| branch | StringKind | - | No description provided |
| uses | StringKind ! | - | No description provided |
| event | StringKind | - | No description provided |
| eventFile | File | - | No description provided |
| container | Container | - | No description provided |
| runnerDebug | BooleanKind | - | No description provided |
| token | Secret | - | No description provided |
Example
dagger -m github.com/aweris/gale/daggerverse/actions/runtime@051b8aec2704cd8a4e2a6633be658f8d4e16a893 call \
runfunc (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 moduleFunction ActionsRuntimeActionRun.Config is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRun.Config is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRun.Config is not accessible from the actions-runtime modulewithEnv() 🔗
Return Type
ActionsRuntimeActionRun !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | StringKind ! | - | No description provided |
| value | StringKind ! | - | No description provided |
Example
Function ActionsRuntimeActionRun.withEnv is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRun.withEnv is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRun.withEnv is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRun.withEnv is not accessible from the actions-runtime modulewithInput() 🔗
Return Type
ActionsRuntimeActionRun !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | StringKind ! | - | No description provided |
| value | StringKind ! | - | No description provided |
Example
Function ActionsRuntimeActionRun.withInput is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRun.withInput is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRun.withInput is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRun.withInput is not accessible from the actions-runtime modulesync() 🔗
Return Type
Container ! Example
Function ActionsRuntimeActionRun.sync is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRun.sync is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRun.sync is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRun.sync is not accessible from the actions-runtime moduleActionsRuntimeActionRunConfig 🔗
source() 🔗
Directory containing the repository source.
Return Type
Directory ! Example
Function ActionsRuntimeActionRunConfig.Source is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Source is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Source is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Source is not accessible from the actions-runtime modulerepo() 🔗
Name of the repository. Format: owner/name.
Return Type
StringKind ! Example
Function ActionsRuntimeActionRunConfig.Repo is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Repo is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Repo is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Repo is not accessible from the actions-runtime modulebranch() 🔗
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 moduleFunction ActionsRuntimeActionRunConfig.Branch is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Branch is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Branch is not accessible from the actions-runtime moduletag() 🔗
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 moduleFunction ActionsRuntimeActionRunConfig.Tag is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Tag is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Tag is not accessible from the actions-runtime moduleuses() 🔗
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 moduleFunction ActionsRuntimeActionRunConfig.Uses is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Uses is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Uses is not accessible from the actions-runtime moduleenv() 🔗
Environment variables for the action. Format: name=value.
Return Type
[StringKind ! ] ! Example
Function ActionsRuntimeActionRunConfig.Env is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Env is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Env is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Env is not accessible from the actions-runtime modulewith() 🔗
Input parameters for the action. Format: name=value.
Return Type
[StringKind ! ] ! Example
Function ActionsRuntimeActionRunConfig.With is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.With is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.With is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.With is not accessible from the actions-runtime moduleevent() 🔗
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 moduleFunction ActionsRuntimeActionRunConfig.Event is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Event is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Event is not accessible from the actions-runtime moduleeventFile() 🔗
File with the complete webhook event payload.
Return Type
File ! Example
Function ActionsRuntimeActionRunConfig.EventFile is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.EventFile is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.EventFile is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.EventFile is not accessible from the actions-runtime modulecontainer() 🔗
Container to use for the runner.
Return Type
Container ! Example
Function ActionsRuntimeActionRunConfig.Container is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Container is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Container is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Container is not accessible from the actions-runtime modulerunnerDebug() 🔗
Enables debug mode.
Return Type
BooleanKind ! Example
Function ActionsRuntimeActionRunConfig.RunnerDebug is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.RunnerDebug is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.RunnerDebug is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.RunnerDebug is not accessible from the actions-runtime moduletoken() 🔗
GitHub token to use for authentication.
Return Type
Secret ! Example
Function ActionsRuntimeActionRunConfig.Token is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Token is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Token is not accessible from the actions-runtime moduleFunction ActionsRuntimeActionRunConfig.Token is not accessible from the actions-runtime module