You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use of env variable for actions has no example #1086
name: run_build
pack: builder
runner_type: "local-shell-cmd"
description: Run build for project and branch.
enabled: true
parameters:
env:
var1: "val1"
cmd:
immutable: true
default: 'builder build --repo {{repo}} --branch {{branch}}'
repo:
type: string
description: Github repo for project.
required: true
branch:
type: string
description: Branch to run the build on.
sha1:
type: string
description: Sha1 on branch to run the build on.
build_parameters:
type: object
description: k-v pair (k1=v1,k2=v2) of parameters to pass to build.
name: run_build
pack: builder
runner_type: "local-shell-cmd"
description: Run build for project and branch.
enabled: true
env:
var1: "val1"
parameters:
cmd:
immutable: true
default: 'builder build --repo {{repo}} --branch {{branch}}'
repo:
type: string
description: Github repo for project.
required: true
branch:
type: string
description: Branch to run the build on.
sha1:
type: string
description: Sha1 on branch to run the build on.
build_parameters:
type: object
description: k-v pair (k1=v1,k2=v2) of parameters to pass to build.
Activity
blag commentedon Aug 18, 2021
There are examples of overriding parameters in the next section down:
https://docs.stackstorm.com/actions.html#overriding-runner-parameters
None of those override
envspecifically though. Some examples of that might help.