We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b09eddb commit 615aa8eCopy full SHA for 615aa8e
action.yaml
@@ -44,7 +44,7 @@ runs:
44
id: build-cli
45
shell: bash
46
run: |
47
- CLI_PATH=$(find . -iwholename '${{ inputs.local-path }}' -type d -not -path './.git/*' -not -path './vendor/*' | head -n 1)
+ CLI_PATH=$(find . -iwholename '${{ inputs.local-path }}' -type d -not -path './.git/*' -not -path './vendor/*' | sort | tail -n 1)
48
echo path="${CLI_PATH}" >> $GITHUB_OUTPUT
49
if [[ -z "${{ inputs.go-mod-directory }}" ]]; then
50
echo go-mod-path="${CLI_PATH}/go.mod" >> $GITHUB_OUTPUT
0 commit comments