Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

I tested with a JSON file but dit nto work #12

Closed
jacace opened this issue Jun 28, 2020 · 3 comments
Closed

I tested with a JSON file but dit nto work #12

jacace opened this issue Jun 28, 2020 · 3 comments

Comments

@jacace
Copy link

jacace commented Jun 28, 2020

Unfortunatelly the log doe snot say much, it only says the following:

Applying variable substitution on JSON file: myfile.json
Skipped updating file: myfile.json
##[error]Error: Failed to apply variable substitution
It's hard to tell why my file was skipped or even which variable failed

@arjgupta
Copy link
Member

@jacace this message comes when there are no substitutions made on the file because there are not variables found to substitute. What are the variables that you are passing to be substituted ? Can you please post your actions yml file.

@arjgupta
Copy link
Member

Closing this issue due to inactivity. Please reopen if you are still facing this issue.

@StanlyLife
Copy link

Thanks I had an issue where i was trying to execute:

ConnectionStrings.Default: ${{ secrets.DEFAULTCONNECTION }}

Turns out I was looking for the wrong property.

ConnectionStrings.DefaultConnection: ${{ secrets.DEFAULTCONNECTION }}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants