From 836363748e965effcffb8832228e423486613046 Mon Sep 17 00:00:00 2001 From: AlyonaSviridenko Date: Fri, 29 Jan 2021 16:44:28 +0300 Subject: [PATCH] added deprecation message --- .gitignore | 1 + README.md | 2 ++ src/main.ts | 1 + 3 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index f45a61f..6767350 100644 --- a/.gitignore +++ b/.gitignore @@ -89,3 +89,4 @@ typings/ # DynamoDB Local files .dynamodb/ +dist/index.js diff --git a/README.md b/README.md index 18a40c1..813bdd6 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ versions status

+**Please note: This repository is currently unmaintained by a team of developers at GitHub, we are not going to be updating issues or pull requests on this repository. Please, migrate your workflows to [ruby/setup-ruby](https://github.com/ruby/setup-ruby) by official [Ruby community](https://www.ruby-lang.org/en/).** + This action sets up a ruby environment for versions which are installed on the [Actions Virtual Environments](https://github.com/actions/virtual-environments). Virtual environments contain only one Ruby version within a 'major.minor' release, and are updated with new releases. Hence, a workflow should only be bound to minor versions. diff --git a/src/main.ts b/src/main.ts index bfb0afa..e9a6a64 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,6 +3,7 @@ import * as cache from './cache'; export async function run() { try { + core.info('Please note: this action is deprecated and will not be maintained in future by GitHub engineers. Please, migrate to https://github.com/ruby/setup-ruby from official Ruby community.'); let versionSpec = core.getInput('ruby-version', {required: true}); if (!versionSpec) { // deprecated