Skip to content

Commit 52b3e09

Browse files
committed
WIP: buf build
1 parent 511c611 commit 52b3e09

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-golang-ubuntu-buf.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ jobs:
2828
with:
2929
python-version: ${{ matrix.python3_version }}
3030

31+
# Download a release like https://github.com/bufbuild/buf/releases/download/v1.53.0/buf-Linux-x86_64
3132
- name: Install buf
3233
run: |
33-
BUF_VERSION=1.53.0
34-
curl -sSL \
35-
"https://github.githubassets.com/buf-v$BUF_VERSION-$(uname -s)-$(uname -m)" \
36-
-o /usr/local/bin/buf
34+
BUF_VERSION="1.53.0"
35+
BUF_URL="https://github.com/bufbuild/buf/releases/download/v1.53.0/buf-Linux-x86_64"
36+
curl -sSL "$BUF_URL" -o /usr/local/bin/buf
3737
chmod +x /usr/local/bin/buf
3838
3939
- name: Add buf to PATH

0 commit comments

Comments
 (0)