fix: ensure error handling in patch creation step
This commit is contained in:
parent
3fb4350468
commit
9f7460ca6c
2
.github/workflows/patch-node.yml
vendored
2
.github/workflows/patch-node.yml
vendored
@ -25,6 +25,8 @@ jobs:
|
||||
|
||||
- name: Checkout nodejs and create new patch
|
||||
run: |
|
||||
set +e # Don't exit on errors, we want to handle them ourselves
|
||||
|
||||
# find the patch file by checking the patch file matching major version input node version
|
||||
MAJOR_VERSION=$(echo ${{ inputs.nodeVersion }} | cut -d'.' -f1)
|
||||
echo "Node.js major version: $MAJOR_VERSION"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user