forked from YOU54F/traveling-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
29 lines (28 loc) · 889 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: traveling-ruby
description: Traveling Ruby at your fingertips
inputs:
ruby-version:
description: 'Version of Traveling Ruby to install'
required: false
default: '3.2.4'
release:
description: 'Date of the package to install'
required: false
default: '20240215'
gems:
description: 'List of gems and optionally versions, white space seperated (e.g. "nokogiri-1.10.10 rails")'
required: false
default: ''
runs:
using: "composite"
steps:
- run: ./cli.sh --ci
shell: bash
env:
TRAVELING_RUBY_VERSION: ${{ github.event.inputs.ruby-version }}
TRAVELING_RUBY_PKG_DATE: ${{ github.event.inputs.pkg-date }}
TRAVELING_RUBY_GEM_LIST: ${{ github.event.inputs.gems }}
- run: |
"/c/Users/runneradmin/.travelling-ruby/bin" >> $env:GITHUB_PATH
if: runner.os == 'windows'
shell: powershell