mirror of
https://github.com/espressif/openthread.git
synced 2026-08-25 03:39:52 +00:00
[github-actions] install gn by apt (#12283)
This commit installs `gn` by the system's package manager instead of directly downloading which seems not working now.
This commit is contained in:
@@ -339,14 +339,9 @@ jobs:
|
||||
- name: Bootstrap
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get --no-install-recommends install -y ninja-build
|
||||
cd /tmp
|
||||
wget -O gn.zip https://chrome-infra-packages.appspot.com/dl/gn/gn/linux-amd64/+/latest
|
||||
unzip -o gn.zip
|
||||
chmod a+x gn && mkdir -p bin && mv -f gn bin/
|
||||
sudo apt-get --no-install-recommends install -y ninja-build gn
|
||||
- name: Build
|
||||
run: |
|
||||
export PATH=/tmp/bin:$PATH
|
||||
script/check-gn-build
|
||||
|
||||
macos:
|
||||
|
||||
Reference in New Issue
Block a user