File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 uses : PSModule/Process-PSModule/.github/workflows/workflow.yml@d4020f3c9c3621cebae5d8bf4ffaf10f55c1784a # v6.1.2
3131 secrets :
3232 APIKEY : ${{ secrets.APIKEY }}
33- # Showcase: send data down to the module tests (see tests/Environment.Tests.ps1).
34- # TestData is a single-line JSON object with optional "secrets" (masked in logs) and
35- # "variables" (not masked) maps. Every entry is exposed to the module test jobs as
36- # $env:<name>. Reference a repository secret with the direct "${{ secrets.NAME }}"
37- # form (single-line values, no quotes or backslashes) and a repository variable with
38- # ${{ toJSON(vars.NAME) }} so any characters are encoded safely. The folded ">-" scalar
39- # keeps the whole value on one line so GitHub registers a single log mask. Omit
40- # TestData entirely when your tests need no data.
4133 TestData : >-
4234 { "secrets": { "TEST_SECRET": "${{ secrets.TEST_SECRET }}" },
4335 "variables": { "TEST_VARIABLE": ${{ toJSON(vars.TEST_VARIABLE) }} } }
You can’t perform that action at this time.
0 commit comments