Update actions/node-ci/action.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
b082864ca6
commit
8928db26b6
@ -39,13 +39,7 @@ runs:
|
||||
path: ${{ inputs.checkout-path }}
|
||||
# Use github.ref when checkout-ref input is empty
|
||||
ref: ${{ inputs.checkout-ref != '' && inputs.checkout-ref || github.ref }}
|
||||
|
||||
- name: Checkout submodules
|
||||
if: inputs.checkout-submodules == 'true'
|
||||
shell: bash
|
||||
run: git submodule update --init --recursive
|
||||
working-directory: ${{ inputs.checkout-path }}
|
||||
|
||||
submodules: ${{ inputs.checkout-submodules }}
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user