Skip to content

Commit

Permalink
remove version from workflow check
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings committed Feb 20, 2025
1 parent ea4f93c commit 18dcb75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41264,7 +41264,6 @@ axios.interceptors.response.use(
const branch = process.env.IS_DEV ? "main" : config.githubContext.branch;

let prerun = config.input.prerun;
let testdriverBranch = config.input.branch;
let key = config.input.key;
let os = config.input.os;
let testdriveraiVersion = config.input.version;
Expand All @@ -41275,8 +41274,8 @@ axios.interceptors.response.use(
let prTestFilename = config.input.prTestFilename;

console.log(chalk.green("Version"));
console.log(`testdriver@${testdriveraiVersion}`);
console.log(`testdriver-action@${pgkVersion}`);
console.log(`testdriverai/testdriverai@${testdriveraiVersion}`);
console.log(`testdriverai/action@${pgkVersion}`);

let prompt = process.env.IS_DEV ? "open youtube" : config.input.prompt;

Expand Down Expand Up @@ -41349,8 +41348,7 @@ axios.interceptors.response.use(
} = await axios.post(
`${baseUrl}/testdriver-workflow`,
{
dispatchId,
branch: testdriverBranch,
dispatchId
},
{
Accept: "application/json",
Expand Down
8 changes: 3 additions & 5 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ axios.interceptors.response.use(
const branch = process.env.IS_DEV ? "main" : config.githubContext.branch;

let prerun = config.input.prerun;
let testdriverBranch = config.input.branch;
let key = config.input.key;
let os = config.input.os;
let testdriveraiVersion = config.input.version;
Expand All @@ -80,8 +79,8 @@ axios.interceptors.response.use(
let prTestFilename = config.input.prTestFilename;

console.log(chalk.green("Version"));
console.log(`testdriver@${testdriveraiVersion}`);
console.log(`testdriver-action@${pgkVersion}`);
console.log(`testdriverai/testdriverai@${testdriveraiVersion}`);
console.log(`testdriverai/action@${pgkVersion}`);

let prompt = process.env.IS_DEV ? "open youtube" : config.input.prompt;

Expand Down Expand Up @@ -154,8 +153,7 @@ axios.interceptors.response.use(
} = await axios.post(
`${baseUrl}/testdriver-workflow`,
{
dispatchId,
branch: testdriverBranch,
dispatchId
},
{
Accept: "application/json",
Expand Down

0 comments on commit 18dcb75

Please sign in to comment.