File tree Expand file tree Collapse file tree
.github/actions/determineNodeVersions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ name: Determine node versions
22description : " Get all the supported node versions"
33inputs :
44 nodeVersionOverride :
5- description : Semver version to set version and version-1
6- default : ' lts/*'
5+ description : Set node to a specific Semver version
76 required : false
87outputs :
98 nodeVersions :
@@ -17,15 +16,15 @@ runs:
1716 - name : logging
1817 shell : bash
1918 run : |
20- echo "nodeVersionOverride: ${{ inputs.nodeVersionOverride }}"
19+ echo "nodeVersionOverride: ${{ inputs.nodeVersionOverride || 'lts/*' }}"
2120 echo "action_path: ${{ github.action_path }}"
2221 echo "action path env var: $GITHUB_ACTION_PATH"
2322 - name : Set up Node
2423 uses : actions/setup-node@v4
2524 with :
26- node-version : ${{ inputs.nodeVersionOverride }}
25+ node-version : ${{ inputs.nodeVersionOverride || 'lts/*' }}
2726 - name : Run main script
2827 shell : bash
2928 id : node-versions
30- run : node ${{ github.action_path }} /dist/index.js
29+ run : node "$GITHUB_ACTION_PATH /dist/index.js"
3130
You can’t perform that action at this time.
0 commit comments