You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: switch to JS Action
Refs: #158
* chore(docs): typos and misalignments
* chore: remove value from outputs (schema validation error)
* chore: token is defined twice
* feat: revert file location change
* feat: bump version
---------
Co-authored-by: Johannes Klein <[email protected]>
Copy file name to clipboardExpand all lines: action.yml
+5-34Lines changed: 5 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,9 @@ name: 'Nx set SHAs'
2
2
description: 'Derives SHAs for base and head for use in nx affected commands, optionally setting them as env variables for the current job'
3
3
4
4
inputs:
5
+
token:
6
+
description: 'The GitHub token used to perform git operations'
7
+
default: ${{ github.token }}
5
8
main-branch-name:
6
9
description: 'The name of the main branch in your repo, used as the target of PRs. E.g. main, master etc'
7
10
default: 'main'
@@ -27,47 +30,15 @@ inputs:
27
30
outputs:
28
31
base:
29
32
description: The value intended for use with --base or NX_BASE in all subsequent `nx affected` commands within the current workflow
30
-
value: ${{ steps.setSHAs.outputs.base }}
31
33
head:
32
34
description: The value intended for use with --head or NX_HEAD in all subsequent `nx affected` commands within the current workflow
33
-
value: ${{ steps.setSHAs.outputs.head }}
34
35
noPreviousBuild:
35
36
description: "Used to check if a previous run was found in order to perform additional logic later on in your workflow, the only possible values is the string 'true', otherwise it won't be set"
Copy file name to clipboardExpand all lines: package.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
{
2
2
"private": true,
3
-
"version": "4.1.2",
3
+
"version": "4.2.0",
4
4
"license": "MIT",
5
5
"description": "This package.json is here purely to control the version of the Action, in combination with https://github.com/JamesHenry/publish-shell-action",
0 commit comments