Skip to content

Commit

Permalink
fix: more documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Fields committed Sep 29, 2020
1 parent 788ad45 commit 244bad2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .actiongenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ module.exports = buildConfig({
{
id: 'comparison',
description: {
short: 'Result of the comparison. Can be either `passed` or `failed`',
short:
'Type of comparison to perform. Supports "exact" (default), "startsWith", "endsWith", "contains", "notEqual"',
},
required: false,
default: 'exact',
Expand All @@ -31,8 +32,7 @@ module.exports = buildConfig({
outputs: [
{
id: 'result',
description:
'Result of the assertion. Returns either "passed" or "failed',
description: 'Result of the comparison. Can be either passed or failed',
},
],
runs: {
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ Various assertions to aide in validating action outputs

### **`comparison`**

**Optional** Result of the comparison. Can be either `passed` or `failed`
**Optional** Type of comparison to perform. Supports "exact" (default), "startsWith", "endsWith", "contains", "notEqual"

---

## **Outputs**

### **`result`**

Various assertions to aide in validating action outputs
Result of the comparison. Can be either passed or failed

---

Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ inputs:
description: Actual value
required: true
comparison:
description: Result of the comparison. Can be either `passed` or `failed`
description: Type of comparison to perform. Supports "exact" (default), "startsWith", "endsWith", "contains", "notEqual"
required: false
default: exact
outputs:
result:
description: Various assertions to aide in validating action outputs
description: Result of the comparison. Can be either passed or failed
runs:
using: node12
main: dist/index.js

0 comments on commit 244bad2

Please sign in to comment.