We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8715b7c commit 1e63a5eCopy full SHA for 1e63a5e
.github/workflows/zimaos-link.yml
@@ -77,6 +77,20 @@ jobs:
77
with:
78
repo-token: ${{ secrets.GITHUB_TOKEN }}
79
80
+ - name: Export protoc include path
81
+ if: steps.protoc-ready.outputs.need_setup == '0'
82
+ run: |
83
+ set -euo pipefail
84
+ for include_dir in /usr/include /usr/local/include; do
85
+ if [[ -f "${include_dir}/google/protobuf/timestamp.proto" ]]; then
86
+ echo "PROTOC_INCLUDE=${include_dir}" >> "$GITHUB_ENV"
87
+ echo "Using PROTOC_INCLUDE=${include_dir}"
88
+ exit 0
89
+ fi
90
+ done
91
+ echo "google protobuf include not found under /usr/include or /usr/local/include"
92
+ exit 1
93
+
94
- name: Check Rust toolchain and target
95
id: rust-ready
96
env:
0 commit comments