浏览代码

.github: avoid homebrew automatic update

This is slow and prone to failure; see
https://github.com/aya-rs/aya/actions/runs/7204446013/job/19625908097.
Tamir Duberstein 1 年之前
父节点
当前提交
ea2492144a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .github/workflows/ci.yml

+ 1 - 0
.github/workflows/ci.yml

@@ -208,6 +208,7 @@ jobs:
           # https://github.com/actions/setup-python/issues/577
           find /usr/local/bin -type l -exec sh -c 'readlink -f "$1" \
           | grep -q ^/Library/Frameworks/Python.framework/Versions/' _ {} \; -exec rm -v {} \;
+          HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 \
           brew install dpkg findutils gnu-tar llvm pkg-config qemu
           echo /usr/local/opt/findutils/libexec/gnubin >> $GITHUB_PATH
           echo /usr/local/opt/gnu-tar/libexec/gnubin >> $GITHUB_PATH