From 836363748e965effcffb8832228e423486613046 Mon Sep 17 00:00:00 2001
From: AlyonaSviridenko
Date: Fri, 29 Jan 2021 16:44:28 +0300
Subject: [PATCH 1/7] 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 @@
+**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
From e0c4d78b1a56494f4824df890edda6c3130dd628 Mon Sep 17 00:00:00 2001
From: AlyonaSviridenko
Date: Wed, 3 Feb 2021 14:43:32 +0300
Subject: [PATCH 2/7] added core.info
---
src/main.ts | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/main.ts b/src/main.ts
index e9a6a64..97538e2 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -3,7 +3,11 @@ 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.');
+ 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('------------------------');
+
let versionSpec = core.getInput('ruby-version', {required: true});
if (!versionSpec) {
// deprecated
From c624fe2900d5b4cc609ba5aefbd10ad0ed9fe0a8 Mon Sep 17 00:00:00 2001
From: AlyonaSviridenko
Date: Wed, 3 Feb 2021 14:45:00 +0300
Subject: [PATCH 3/7] reverted gitignore updates
---
.gitignore | 1 -
1 file changed, 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 6767350..f45a61f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -89,4 +89,3 @@ typings/
# DynamoDB Local files
.dynamodb/
-dist/index.js
From c48caba78306a49398939180b6e45aa88a1988c3 Mon Sep 17 00:00:00 2001
From: AlyonaSviridenko
Date: Wed, 3 Feb 2021 15:00:38 +0300
Subject: [PATCH 4/7] prettier run
---
src/main.ts | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/main.ts b/src/main.ts
index 97538e2..be1c13b 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -4,8 +4,12 @@ import * as cache from './cache';
export async function run() {
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 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('------------------------');
let versionSpec = core.getInput('ruby-version', {required: true});
From 92304077785efe655f4759c009c7e6088f4a260a Mon Sep 17 00:00:00 2001
From: AlyonaSviridenko
Date: Wed, 3 Feb 2021 15:23:36 +0300
Subject: [PATCH 5/7] updated dist/index.js
---
dist/index.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dist/index.js b/dist/index.js
index 953942a..8f9f85b 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1330,6 +1330,10 @@ const cache = __importStar(__webpack_require__(365));
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('------------------------');
let versionSpec = core.getInput('ruby-version', { required: true });
if (!versionSpec) {
// deprecated
From 4ac0d0173e81bd32ff8390db373bb9a5e0be4c1e Mon Sep 17 00:00:00 2001
From: AlyonaSviridenko
Date: Thu, 4 Feb 2021 11:04:13 +0300
Subject: [PATCH 6/7] updated deprecation messaging
---
README.md | 3 ++-
dist/index.js | 4 ++--
src/main.ts | 6 ++----
3 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index 813bdd6..82b534b 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,8 @@
-**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).
diff --git a/dist/index.js b/dist/index.js
index 8f9f85b..ba7a3d0 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -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) {
diff --git a/src/main.ts b/src/main.ts
index be1c13b..75a1558 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -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('------------------------');
From 628c631e13a1d362b811e1e41ba32f24c464d081 Mon Sep 17 00:00:00 2001
From: AlyonaSviridenko
Date: Thu, 4 Feb 2021 14:19:48 +0300
Subject: [PATCH 7/7] updated wording, fixed matrix
---
.github/workflows/versions.yml | 2 +-
README.md | 2 +-
dist/index.js | 2 +-
src/main.ts | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml
index 8493c10..cc4fbe9 100644
--- a/.github/workflows/versions.yml
+++ b/.github/workflows/versions.yml
@@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
- version: [2.4, 2.5.x, 2.6, 2.7.x]
+ version: [2.5.x, 2.6, 2.7.x]
steps:
- name: Checkout
uses: actions/checkout@v2
diff --git a/README.md b/README.md
index 82b534b..a12d2ba 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
-**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.**
+**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), 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).
diff --git a/dist/index.js b/dist/index.js
index ba7a3d0..32887e4 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1332,7 +1332,7 @@ function run() {
try {
core.info('------------------------');
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('Please, migrate to https://github.com/ruby/setup-ruby, which is being actively maintained.');
core.info('------------------------');
let versionSpec = core.getInput('ruby-version', { required: true });
if (!versionSpec) {
diff --git a/src/main.ts b/src/main.ts
index 75a1558..72056d7 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -6,7 +6,7 @@ export async function run() {
core.info('------------------------');
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.'
+ 'Please, migrate to https://github.com/ruby/setup-ruby, which is being actively maintained.'
);
core.info('------------------------');