We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0460da9 commit 545804cCopy full SHA for 545804c
.github/workflows/buf-push.yaml
@@ -18,7 +18,7 @@ jobs:
18
- name: Get Buf version
19
id: buf-version
20
run: |
21
- BUF_VERSION=$( go list -m -f '{{.Version}}' github.com/bufbuild/buf )
+ BUF_VERSION=$( go list -modfile=tools/go.mod -m -f '{{.Version}}' github.com/bufbuild/buf )
22
# remove the leading 'v' in front of the version
23
BUF_VERSION=${BUF_VERSION#v}
24
echo "v=$BUF_VERSION" >> "$GITHUB_OUTPUT"
0 commit comments