ruby-changes:59229
From: Kazuhiro <ko1@a...>
Date: Fri, 13 Dec 2019 18:05:03 +0900 (JST)
Subject: [ruby-changes:59229] d5c73681f8 (master): Ignore error of `apt-get update` on GitHub Actions
https://git.ruby-lang.org/ruby.git/commit/?id=d5c73681f8 From d5c73681f8fd9e17b5378cb029fc88e98d7b6abb Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Fri, 13 Dec 2019 18:04:21 +0900 Subject: Ignore error of `apt-get update` on GitHub Actions diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 91c9e2b..885f078 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -50,7 +50,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L50 - name: Install libraries run: | set -x - sudo apt-get update -q + sudo apt-get update -q || : sudo apt-get install --no-install-recommends -q -y build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev bison autoconf ruby # Not using official actions/checkout because it's unstable and sometimes doesn't work for a fork. - name: Checkout ruby/ruby -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/