Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
updated deprecation messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
AlenaSviridenko committed Feb 4, 2021
1 parent 9230407 commit 4ac0d01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<a href="https://github.com/actions/setup-ruby/actions"><img alt="versions status" src="https://github.com/actions/setup-ruby/workflows/ruby-versions/badge.svg"></a>
</p>

**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/).**
**Please note: This action is deprecated and should no longer be used. The team at GitHub has ceased making and accepting code contributions or maintaining issues tracker. Please, migrate your workflows to the [ruby/setup-ruby](https://github.com/ruby/setup-ruby) action, which is being actively maintained by the official Ruby organization.**


This action sets up a ruby environment for versions which are installed on the [Actions Virtual Environments](https://github.com/actions/virtual-environments).

Expand Down
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1331,8 +1331,8 @@ function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
core.info('------------------------');
core.info('NOTE: this action is deprecated and will not be maintained in future by GitHub engineers.');
core.info('Please, migrate to https://github.com/ruby/setup-ruby from official Ruby community.');
core.info('NOTE: This action is deprecated and is no longer maintained.');
core.info('Please, migrate to https://github.com/ruby/setup-ruby action, which is being actively maintained.');
core.info('------------------------');
let versionSpec = core.getInput('ruby-version', { required: true });
if (!versionSpec) {
Expand Down
6 changes: 2 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ import * as cache from './cache';
export async function run() {
try {
core.info('------------------------');
core.info('NOTE: This action is deprecated and is no longer maintained.');
core.info(
'NOTE: this action is deprecated and will not be maintained in future by GitHub engineers.'
);
core.info(
'Please, migrate to https://github.com/ruby/setup-ruby from official Ruby community.'
'Please, migrate to https://github.com/ruby/setup-ruby action, which is being actively maintained.'
);
core.info('------------------------');

Expand Down

0 comments on commit 4ac0d01

Please sign in to comment.