File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed
Expand file tree Collapse file tree 4 files changed +3
-3
lines changed File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export async function install(actions: string[]) {
3737import * as path from "node:path";
3838
3939function action(name, params) {
40- const githubDir = path.resolve(process.cwd(), ".github");
40+ const githubDir = path.resolve(process.cwd(), ".github/workflows ");
4141 const actionsJsonPath = path.resolve(githubDir, "actions.json");
4242 const actionsLockJsonPath = path.resolve(githubDir, "actions-lock.json");
4343 const actionsJson = JSON.parse(fs.readFileSync(actionsJsonPath, "utf8"));
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ function _prepareGitHubDir() {
99}
1010
1111function _actionsJsonPath ( ) {
12- return path . resolve ( process . cwd ( ) , ".github/actions.json" ) ;
12+ return path . resolve ( process . cwd ( ) , ".github/workflows/ actions.json" ) ;
1313}
1414
1515function _actionsLockJsonPath ( ) {
16- return path . resolve ( process . cwd ( ) , ".github/actions-lock.json" ) ;
16+ return path . resolve ( process . cwd ( ) , ".github/workflows/ actions-lock.json" ) ;
1717}
1818
1919export type ActionsJson = Record < string , string > ;
You can’t perform that action at this time.
0 commit comments