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

[bug] tasks.build.outputs[1]: token and environment variables are not supported #1647

Open
owanio1992 opened this issue Sep 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@owanio1992
Copy link

owanio1992 commented Sep 7, 2024

Describe the bug

I read doc token

"Tokens are variables and functions that can be used by outputs "
but output only support token function, don't support token variable

Steps to reproduce
moon.yml

fileGroups:
  storybook:
    - '.storybook/**/*'
    - 'src/**/*'
    - '**/*.stories.*'

tasks:
  build:
    inputs:
      - '@group(storybook)'     # this support 
      - '$workspaceRoot'          # this support 
    outputs:
      - '@group(storybook)'  # this support 
      - '$workspaceRoot'       # this not support

moon error msg

Error: config::parse::failed

  × Failed to parse projects/nebula-config-service/moon.yml.
  ╰─▶   × tasks.build.outputs[1]: token and environment variables are not supported

Expected behavior

outputs can use token variable

Screenshots

image

Environment

moon 1.28.1
@owanio1992 owanio1992 added the bug Something isn't working label Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants