1
0
mirror of https://github.com/benjlevesque/short-sha.git synced 2026-03-08 05:14:53 +01:00

export env variable

This commit is contained in:
Benjamin LEVESQUE
2020-03-09 23:51:15 +01:00
parent 7ca07b8f5c
commit 12c1ae7a90
5 changed files with 9 additions and 0 deletions

View File

@@ -12,4 +12,5 @@ test('test runs', () => {
}
const output = cp.execSync(`node ${ip}`, options).toString()
expect(output).toContain('::set-output name=sha::6e8dcc')
expect(output).toContain('::set-env name=SHA::6e8dcc')
})