You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
654 B
24 lines
654 B
name: 'Setup RUby'
|
|
description: 'Setup a Ruby environment ready to run the Mastodon code'
|
|
inputs:
|
|
ruby-version:
|
|
description: The Ruby version to install
|
|
default: '.ruby-version'
|
|
additional-system-dependencies:
|
|
description: 'Additional packages to install'
|
|
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- name: Install system dependencies
|
|
shell: bash
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libicu-dev libidn11-dev ${{ inputs.additional-system-dependencies }}
|
|
|
|
- name: Set up Ruby
|
|
uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: ${{ inputs.ruby-version }}
|
|
bundler-cache: true
|