kenju/github-actions-artillery

Error: Unexpected token in JSON at position 36

Opened this issue · 1 comments

I read tutorial make it work with env1, env2 but as soon switch using my keys it giving me this error. What am I missing?
Run kanga333/variable-mapper@v0.2.2
with:
key: dev-non-pci
map: ***
"dev-non-pci": ***
"gcpSa": "***
",
"projectId": "dev-non-pci"
,
".
": ***
"gcpSa": "
*
",
"projectId": "dev-non-pci"
***


export_to: env
mode: first_match

env:
PROJECT_ID: dev-non-pci
Error: Unexpected token
in JSON at position 36

my action
- uses: kanga333/variable-mapper@v0.2.2 id: export with: key: ${{ env.PROJECT_ID }} map: | { "dev-non-pci": { "gcpSa": "${{ secrets.GCP_SA_GHA_DEVNONPCI_TERRAFORM}}", "projectId": "${{ env.PROJECT_ID }}" }, ".*": { "gcpSa": "${{ secrets.GCP_SA_GHA_DEVNONPCI_TERRAFORM}}", "projectId": "${{ env.PROJECT_ID }}" } } export_to: env mode: first_match