Skip to content

Commit 593b73c

Browse files
committed
more thing
1 parent c73fc5c commit 593b73c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/build-cli-release.reusable.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,21 +86,24 @@ jobs:
8686
run: go install github.com/golang/protobuf/protoc-gen-go@latest
8787

8888
- name: Add protoc-gen-go to path
89+
shell: bash
8990
run: |
9091
echo "$HOME/go/bin" >> $GITHUB_PATH
9192
# Also set for current step
9293
export PATH="$PATH:$HOME/go/bin"
9394
echo "PATH=$PATH:$HOME/go/bin" >> $GITHUB_ENV
9495
9596
- name: Test protoc-gen-go availability
97+
shell: bash
9698
run: |
9799
echo "Current PATH: $PATH"
98100
echo "Go bin directory contents:"
99101
ls -la $HOME/go/bin/
100-
echo "Testing protoc-gen-go..."
101-
protoc-gen-go --version
102102
echo "Which protoc-gen-go:"
103103
which protoc-gen-go
104+
echo "Testing protoc can find protoc-gen-go plugin..."
105+
# Test that protoc can find the go plugin (this will show an error about missing .proto file, but that's expected)
106+
protoc --go_out=/tmp --help | grep -q "go_out" && echo "✅ protoc recognizes --go_out flag" || echo "❌ protoc does not recognize --go_out flag"
104107
105108
- name: Use Cross
106109
if: contains(matrix._.os, 'ubuntu')

0 commit comments

Comments
 (0)