Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to interpolate string #120

Closed
tamipangadil opened this issue Mar 3, 2020 · 1 comment
Closed

Unable to interpolate string #120

tamipangadil opened this issue Mar 3, 2020 · 1 comment
Labels
area/workflow Relating to workflow definitions kind/bug Something isn't working meta/duplicate This issue or pull request already exists

Comments

@tamipangadil
Copy link

Hi,

I have a simple build workflow file that contains some extra variables that can be found in env and runner such as runner.os and env.cache-name. But all of them are showing this error:

ERRO[0099] Unable to interpolate string '${{ runner.os }}-node-${{ env.cache-name }}-

I believe that you might also support having these values declared somewhere as either environment or command parameters but I don't see it in the current command help notes.

-b, --bind                   bind working directory to container, rather than copy
-C, --directory string       working directory (default ".")
-n, --dryrun                 dryrun mode
-e, --eventpath string       path to event JSON file
-h, --help                   help for act
-j, --job string             run job
-l, --list                   list workflows
-P, --platform stringArray   custom image to use per platform (e.g. -P ubuntu-18.04=nektos/act-environments-ubuntu:18.04)
-p, --pull                   pull docker image(s) if already present
-q, --quiet                  disable logging of output from steps
-r, --reuse                  reuse action containers to maintain state
-s, --secret stringArray     secret to make available to actions with optional value (e.g. -s mysecret=foo or -s mysecret)
-v, --verbose                verbose output
    --version                version for act
-w, --watch                  watch the contents of the local repo and run when files change
-W, --workflows string       path to workflow files (default "./.github/workflows/")

Are you planning to support this feature? Thanks!

@mced
Copy link

mced commented Mar 3, 2020

Seems to be related to #104

@cplee cplee added area/workflow Relating to workflow definitions kind/bug Something isn't working meta/duplicate This issue or pull request already exists labels Mar 3, 2020
@cplee cplee closed this as completed Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/workflow Relating to workflow definitions kind/bug Something isn't working meta/duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants