1
0
Fork 0
pull/1580/head
JoannaaKL 2023-11-09 13:20:38 +00:00 committed by GitHub
parent fe3e7ce9a7
commit 30dbb496d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -168,6 +168,15 @@ describe('@actions/core', () => {
]) ])
}) })
it('setSecret produces the correct command 2', () => {
core.setSecret('%xxx')
core.setSecret('%25')
assertWriteCalls([
`::add-mask::%25xxx`,
`::add-mask::%2525`
])
})
it('prependPath produces the correct commands and sets the env', () => { it('prependPath produces the correct commands and sets the env', () => {
const command = 'PATH' const command = 'PATH'
createFileCommandFile(command) createFileCommandFile(command)