I have a JSON like this stored in the folder/path where my Github action is executed -
{
"version":"1",
"sampleArray":[
{
"id":"1"
}
],
"secondArray":[
{
"secondId":"2"
}
]
}
Using Github actions how can I edit the value of id eg: make the id value as "5" inside the sampleArray so that my JSON has an updated value?