Skip to content

Commit

Permalink
Merge branch 'main' into michael/testdriver-windows-mac-os
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings authored Aug 16, 2024
2 parents 2788117 + c584850 commit aad2477
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v3
- uses: ./
with:
version: v3.3.8
version: windows-release
prompt: |
1. open youtube
2. find a cat video
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ inputs:
description: >-
Your Dashcam API key
required: false
os:
description: >-
The operating system to run tests on. Default "Windows"
required: false
outputs:
summary:
description: >-
Expand Down
1 change: 1 addition & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class Config {
gh_token: core.getInput("gh_token"),
version: core.getInput("version"),
key: core.getInput("key"),
os: core.getInput("os") || "windows",
};

// the values of github.context.repo.owner and github.context.repo.repo are taken from
Expand Down
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const waitFor = (ms) => new Promise((r) => setTimeout(r, ms));
let prerun = config.input.prerun;
let version = config.input.version;
let key = config.input.key;
let os = config.input.os;

console.log(`testdriver@${pgkVersion}`);
console.log(`testdriver-action@${version}`);
Expand Down Expand Up @@ -65,6 +66,7 @@ const waitFor = (ms) => new Promise((r) => setTimeout(r, ms));
prerun,
version,
key,
os,
personalAccessToken,
},
{
Expand Down

0 comments on commit aad2477

Please sign in to comment.