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

SyntaxError: Unexpected string #292

Open
root-ansh-ct opened this issue Sep 30, 2022 · 2 comments
Open

SyntaxError: Unexpected string #292

root-ansh-ct opened this issue Sep 30, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@root-ansh-ct
Copy link

root-ansh-ct commented Sep 30, 2022

Describe the bug
Getting Error 'Unexpected string' when trying to set an integer on environment variable .not sure why. my goals is to skip tests and other actions if the associated files are not changed

To Reproduce
Steps to reproduce the behavior: either check this action logs and composite action that is part of the main workflow , or:

  1. Clone this repo
  2. add some changes to CHANGELOG.md (any text addition/removal would do)
  3. push to your branch
  4. See error in action.yml

Expected behavior
the variable is setup successfully is able to be accessed by other composite actions

Screenshots
image

Desktop (please complete the following information):

  • OS: ubuntu latest

Additional context
I actually wanted to use boolean variables here, but neither integer nor boolean variable works

@stevematney
Copy link

I don't know exactly the root cause of this issue, but I had the same problem and was able to clear this error when I removed result-encoding: string on a previous step from which I was setting an environment variable in the failing step.

@joshmgross joshmgross added the bug Something isn't working label Jan 26, 2023
@joshmgross
Copy link
Member

👋 @root-ansh-ct are you still experiencing this issue?

Could you provide logs and the specific section of your workflow that's failing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants