From 48efd73814fe32ffd310d0a21d5ce6133a95df4a Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Thu, 6 Feb 2020 13:06:11 +0100 Subject: [PATCH] Follow repository transfer and rename --- README.md | 4 ++-- dist/index.js | 4 ++-- index.js | 2 +- package.json | 8 ++++---- windows.js | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 13a4f85..b5efef4 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: eregon/use-ruby-action@v1 + - uses: ruby/setup-ruby@v1 with: ruby-version: 2.6 - run: ruby -v @@ -75,7 +75,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - - uses: eregon/use-ruby-action@v1 + - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - run: ruby -v diff --git a/dist/index.js b/dist/index.js index 82105ba..b036afb 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1448,7 +1448,7 @@ function validateRubyEngineAndVersion(platform, engineVersions, engine, version) } else { throw new Error(`Unknown version ${version} for ${engine} on ${platform} available versions for ${engine} on ${platform}: ${engineVersions.join(', ')} - File an issue at https://github.com/eregon/use-ruby-action/issues if would like support for a new version`) + File an issue at https://github.com/ruby/setup-ruby/issues if would like support for a new version`) } } @@ -7885,7 +7885,7 @@ async function install(platform, ruby) { } const base = url.slice(url.lastIndexOf('/') + 1, url.length - '.7z'.length) - // Extract to SSD, see https://github.com/eregon/use-ruby-action/pull/14 + // Extract to SSD, see https://github.com/ruby/setup-ruby/pull/14 const drive = (process.env['GITHUB_WORKSPACE'] || 'C')[0] const downloadPath = await tc.downloadTool(url) diff --git a/index.js b/index.js index 1a36fa8..77ca96f 100644 --- a/index.js +++ b/index.js @@ -57,7 +57,7 @@ function validateRubyEngineAndVersion(platform, engineVersions, engine, version) } else { throw new Error(`Unknown version ${version} for ${engine} on ${platform} available versions for ${engine} on ${platform}: ${engineVersions.join(', ')} - File an issue at https://github.com/eregon/use-ruby-action/issues if would like support for a new version`) + File an issue at https://github.com/ruby/setup-ruby/issues if would like support for a new version`) } } diff --git a/package.json b/package.json index f823daa..0e06941 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "use-ruby-action", + "name": "setup-ruby", "version": "0.1.0", "description": "Download a prebuilt Ruby and add it to the PATH in 5 seconds", "main": "index.js", @@ -9,7 +9,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/eregon/use-ruby-action.git" + "url": "git+https://github.com/ruby/setup-ruby.git" }, "keywords": [ "GitHub", @@ -19,9 +19,9 @@ "author": "Benoit Daloze", "license": "MIT", "bugs": { - "url": "https://github.com/eregon/use-ruby-action/issues" + "url": "https://github.com/ruby/setup-ruby/issues" }, - "homepage": "https://github.com/eregon/use-ruby-action", + "homepage": "https://github.com/ruby/setup-ruby", "dependencies": { "@actions/core": "^1.1.1", "@actions/exec": "^1.0.1", diff --git a/windows.js b/windows.js index 4c70afd..373a18d 100644 --- a/windows.js +++ b/windows.js @@ -25,7 +25,7 @@ export async function install(platform, ruby) { } const base = url.slice(url.lastIndexOf('/') + 1, url.length - '.7z'.length) - // Extract to SSD, see https://github.com/eregon/use-ruby-action/pull/14 + // Extract to SSD, see https://github.com/ruby/setup-ruby/pull/14 const drive = (process.env['GITHUB_WORKSPACE'] || 'C')[0] const downloadPath = await tc.downloadTool(url)