summaryrefslogtreecommitdiff
path: root/.github/workflows/bundled_gems.yml
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2023-06-29 10:02:23 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2023-06-30 11:18:06 +0900
commite8d629ed76cab8b17f82f024b6b5f7eddb71ab51 (patch)
tree2a169331e6109a58f441be9477fe3b3f543b7e9e /.github/workflows/bundled_gems.yml
parentd3ff43852b22f5463d22aab390ef340d9ebe4b06 (diff)
refactor extract apt-get
Use composite action to reduce copy & paste.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7998
Diffstat (limited to '.github/workflows/bundled_gems.yml')
-rw-r--r--.github/workflows/bundled_gems.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/.github/workflows/bundled_gems.yml b/.github/workflows/bundled_gems.yml
index e00de382e7..3998f86f80 100644
--- a/.github/workflows/bundled_gems.yml
+++ b/.github/workflows/bundled_gems.yml
@@ -73,10 +73,7 @@ jobs:
continue-on-error: true
- name: Install libraries
- run: |
- set -x
- 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 autoconf ruby
+ uses: ./.gituhb/actions/setup/ubuntu
if: ${{ steps.diff.outcome == 'failure' }}
- name: Build