question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Env vars in type-safe expressions are serialized incorrectly

See original GitHub issue

See https://github.com/krzema12/github-actions-kotlin-dsl/actions/workflows/Integration tests - type-safe expressions.yaml

The workflow is not valid. .github/workflows/Integration tests - type-safe expressions.yaml (Line: 26, Col: 14): Unexpected symbol: '$GREETING'. Located at position 1 within expression: $GREETING

There wasn’t a single successful run. I noticed it by accident. It doesn’t produce a failed run within e. g. a PR which is a real bummer.

FYI @jmfayard

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jmfayardcommented, Aug 11, 2022

I did a GitHub code search. The syntax ${{ secrets.GITHUB_TOKEN }} or ${{ env.MILESTONE }} is correct. What I have done is broken in this case then, the addition $ shouldn’t be there https://github.com/search?q=GITHUB_TOKEN&type=code

Only command = "echo $GREETING" currently works.

0reactions
jmfayardcommented, Sep 21, 2022

Done via #455

Read more comments on GitHub >

github_iconTop Results From Across the Web

Serialize Class containing Dictionary member - Stack Overflow
Example, you have a class with public property of type Dictionary. To support Xml serialization of this type, create a generic key-value class:...
Read more >
Serialization issue when client is dotnet core and handlers are ...
Hey, I've come across a problem using Rebus in what I guess you'd call a ... With some system types (e.g. generic lists)...
Read more >
Semantics
Variable definitions can provide an initial value, in which case it's like having a declaration and assignment (which we cover next) all in...
Read more >
AWS Lambda function handler in Java
The Lambda function handler is the method in your function code that processes events. When your function is invoked, Lambda runs the handler...
Read more >
Deserialization - HackTricks
Serialization is the process of turning some object into a data format that can be restored ... The main problem with deserialized objects...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found