mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-06-27 10:59:27 +08:00
Updating cwd
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
import {exec} from '@actions/exec'
|
||||
|
||||
export const run = async (cmd: string) => {
|
||||
await exec('yarn', [cmd])
|
||||
export const run = async (cmd: string, {cwd}: {cwd: string}) => {
|
||||
await exec('yarn', [cmd], {cwd})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user