We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2f25be commit 511c611Copy full SHA for 511c611
.github/workflows/build-golang-ubuntu-buf.yaml
@@ -31,16 +31,13 @@ jobs:
31
- name: Install buf
32
run: |
33
BUF_VERSION=1.53.0
34
- # buf is installed to ~/bin/your-project-name.
35
- BIN_DIR=$HOME/bin/$PROJECT
36
-
37
curl -sSL \
38
- "https://github.com/bufbuild/buf/releases/download/v$BUF_VERSION/buf-$(uname -s)-$(uname -m)" \
39
- -o "$BIN_DIR/buf"
40
- chmod +x "$BIN_DIR/buf"
+ "https://github.githubassets.com/buf-v$BUF_VERSION-$(uname -s)-$(uname -m)" \
+ -o /usr/local/bin/buf
+ chmod +x /usr/local/bin/buf
41
42
- name: Add buf to PATH
43
- run: echo "$HOME/bin/$PROJECT" >> $GITHUB_PATH
+ run: echo "/usr/local/bin" >> $GITHUB_PATH
44
45
- name: Check buf version
46
run: buf --version
0 commit comments