Skip to content

Commit 07160f6

Browse files
committed
Move ruby-installer-versions.js to windows-versions.js for clarity
1 parent 0449254 commit 07160f6

File tree

5 files changed

+40
-40
lines changed

5 files changed

+40
-40
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Rubinius is only available on `ubuntu-latest`.
3535
The prebuilt rubies are generated by [eregon/ruby-install-builder](https://github.com/eregon/ruby-install-builder)
3636
and on Windows by [RubyInstaller2](https://github.com/oneclick/rubyinstaller2).
3737
The full list of available Ruby versions can be seen at [versions.json](https://github.com/eregon/ruby-install-builder/blob/metadata/versions.json)
38-
for Ubuntu and macOS and at [ruby-installer-versions.js](https://github.com/eregon/use-ruby-action/blob/master/ruby-installer-versions.js) for Windows.
38+
for Ubuntu and macOS and at [windows-versions.js](https://github.com/eregon/use-ruby-action/blob/master/windows-versions.js) for Windows.
3939

4040
## Usage
4141

dist/index.js

+37-37
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generate-ruby-installer-versions.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
}.to_h
2525

2626
js = "export const versions = #{JSON.pretty_generate(versions)}\n"
27-
File.write 'ruby-installer-versions.js', js
27+
File.write 'windows-versions.js', js
File renamed without changes.

windows.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const fs = require('fs')
55
const core = require('@actions/core')
66
const exec = require('@actions/exec')
77
const tc = require('@actions/tool-cache')
8-
const rubyInstallerVersions = require('./ruby-installer-versions').versions
8+
const rubyInstallerVersions = require('./windows-versions').versions
99

1010
export async function getAvailableVersions(engine) {
1111
if (engine === 'ruby') {

0 commit comments

Comments
 (0)