mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-01 07:03:17 +08:00
set-env instead of set-variable
This commit is contained in:
@@ -20,7 +20,7 @@ export interface InputOptions {
|
||||
*/
|
||||
export function exportVariable(name: string, val: string) {
|
||||
process.env[name] = val
|
||||
intm.issueCommand('set-variable', {name}, val)
|
||||
intm.issueCommand('set-env', {name}, val)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user