Skip to content

Commit 26613e7

Browse files
committed
action: allow overwriting west update flags
Add west-update-flags input that allows to customize flags passed to west during setup. Signed-off-by: Antoni Duda <antoni.duda@nordicsemi.no>
1 parent 897bacc commit 26613e7

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ inputs:
7575
required: false
7676
default: ""
7777

78+
west-update-flags:
79+
description: Additional flags passed to west update command
80+
required: false
81+
default: "-o=--depth=1 -n"
82+
7883
runs:
7984
using: "composite"
8085
steps:
@@ -118,7 +123,7 @@ runs:
118123
if [ -n "${{ inputs.west-project-filter }}" ]; then
119124
west config manifest.project-filter -- ${{ inputs.west-project-filter }}
120125
fi
121-
west update -o=--depth=1 -n
126+
west update ${{ inputs.west-update-flags }}
122127
123128
- name: Environment setup
124129
working-directory: ${{ inputs.base-path }}

0 commit comments

Comments
 (0)