Skip to content

Commit

Permalink
Merge pull request #1136 from chromaui/cody/cap-2623-outputdir-is-not…
Browse files Browse the repository at this point in the history
…-available-as-an-option-in-the-github-action

Add `outputDir` to GitHub Action options
  • Loading branch information
codykaup authored Jan 8, 2025
2 parents 8f27f8b + fae3fae commit c8530c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action-src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ async function run() {
const onlyChanged = getInput('onlyChanged');
const onlyStoryFiles = getMultilineInput('onlyStoryFiles');
const onlyStoryNames = getMultilineInput('onlyStoryNames');
const outputDir = getInput('outputDir');
const playwright = getInput('playwright');
const preserveMissing = getInput('preserveMissing');
const projectToken = getInput('projectToken') || getInput('appCode'); // backwards compatibility
Expand Down Expand Up @@ -179,6 +180,7 @@ async function run() {
onlyChanged: maybe(onlyChanged),
onlyStoryFiles: maybe(onlyStoryFiles),
onlyStoryNames: maybe(onlyStoryNames),
outputDir: maybe(outputDir),
playwright: maybe(playwright),
preserveMissing: maybe(preserveMissing),
projectToken,
Expand Down

0 comments on commit c8530c9

Please sign in to comment.