mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-07-26 00:13:16 +03:00
add debug
This commit is contained in:
@@ -14,4 +14,14 @@ describe('e2e', () => {
|
||||
expect(process.env.JSONSTRINGMULTILINE).toBe('{"x":1,"y":"q\\nux"}');
|
||||
expect(process.env.JSONDATA).toBe('{"x":1,"y":"qux"}');
|
||||
});
|
||||
|
||||
it('verify jsonstring', () => {
|
||||
expect(process.env.JSONSTRING).toBe('{"x":1,"y":"qux"}');
|
||||
});
|
||||
it('verify jsonstringmultiline', () => {
|
||||
expect(process.env.JSONSTRINGMULTILINE).toBe('{"x":1,"y":"q\\nux"}');
|
||||
});
|
||||
it('verify jsondata', () => {
|
||||
expect(process.env.JSONDATA).toBe('{"x":1,"y":"qux"}');
|
||||
});
|
||||
});
|
||||
|
||||
+1
-1
@@ -107,7 +107,7 @@ async function exportSecrets() {
|
||||
|
||||
for (const line of value.replace(/\r/g, '').split('\n')) {
|
||||
if (line.length > 0) {
|
||||
core.setSecret(line);
|
||||
core.setOutput(line);
|
||||
}
|
||||
}
|
||||
if (exportEnv) {
|
||||
|
||||
Reference in New Issue
Block a user