Skip to content

Commit

Permalink
Attempting to set just the version number in environment variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
otchet-broad committed Feb 19, 2025
1 parent c668645 commit 79984ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fetch-depth: 0
fetch-tags: true
env:
NODE_VERSION: $(cat Dockerfile | awk 'NR==2 {gsub(":","@",$2); print $2}')
NODE_VERSION: $(cat Dockerfile | awk 'NR==2 {gsub(":","@",$2); print $2}' | awk '{split($0, array, "@"); print array[2]}')
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
Expand Down

0 comments on commit 79984ff

Please sign in to comment.