Skip to content

Commit 08e6775

Browse files
Update WorkingDirectory default value to current directory in README and action.yml
1 parent e45c49c commit 08e6775

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ jobs:
5858
uses: PSModule/Test-PSModule@main
5959
with:
6060
Settings: SourceCode
61-
WorkingDirectory: ${{ github.workspace }}
6261

6362
```
6463
</details>
@@ -86,7 +85,6 @@ jobs:
8685
uses: PSModule/Test-PSModule@main
8786
with:
8887
Settings: Module
89-
WorkingDirectory: ${{ github.workspace }}
9088

9189
```
9290
</details>
@@ -103,7 +101,7 @@ jobs:
103101
| `Verbose` | Enable verbose output. | `false` | `'false'` |
104102
| `Version` | Specifies the version of the GitHub module to be installed. The value must be an exact version. | `false` | |
105103
| `Prerelease` | Allow prerelease versions if available. | `false` | `'false'` |
106-
| `WorkingDirectory` | The working directory to use for the action. This is the root folder where tests and outputs are expected. | `false` | `${{ github.workspace }}` |
104+
| `WorkingDirectory` | The working directory to use for the action. This is the root folder where tests and outputs are expected. | `false` | `'.'` |
107105

108106
### Outputs
109107

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ inputs:
3030
WorkingDirectory:
3131
description: The working directory to use for the action. This is the root folder where tests and outputs are expected.
3232
required: false
33-
default: ${{ github.workspace }}
33+
default: '.'
3434

3535
runs:
3636
using: composite

0 commit comments

Comments
 (0)