File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 65
65
- name : Install bindgen
66
66
run : cargo binstall -y bindgen-cli
67
67
68
+ - name : Install GitHub CLI tool
69
+ run : |
70
+ (type -p wget >/dev/null || (sudo apt update && sudo apt install wget -y)) \
71
+ && sudo mkdir -p -m 755 /etc/apt/keyrings \
72
+ && out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg \
73
+ && cat $out | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
74
+ && sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
75
+ && sudo mkdir -p -m 755 /etc/apt/sources.list.d \
76
+ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
77
+ && sudo apt update \
78
+ && sudo apt install gh -y
79
+
68
80
- name : Generate bindings
69
81
run : |
70
82
. /opt/ros/${{ matrix.ros_distribution }}/setup.sh
You can’t perform that action at this time.
0 commit comments