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

Commit e932e7a

Browse files
Deprecation of action
Deprecation of actions/setup-ruby
2 parents 5f29a1c + 628c631 commit e932e7a

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

.github/workflows/versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
operating-system: [ubuntu-latest, windows-latest, macos-latest]
18-
version: [2.4, 2.5.x, 2.6, 2.7.x]
18+
version: [2.5.x, 2.6, 2.7.x]
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v2

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
<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>
77
</p>
88

9+
**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.**
10+
11+
912
This action sets up a ruby environment for versions which are installed on the [Actions Virtual Environments](https://github.com/actions/virtual-environments).
1013

1114
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.

dist/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,10 @@ const cache = __importStar(__webpack_require__(365));
13301330
function run() {
13311331
return __awaiter(this, void 0, void 0, function* () {
13321332
try {
1333+
core.info('------------------------');
1334+
core.info('NOTE: This action is deprecated and is no longer maintained.');
1335+
core.info('Please, migrate to https://github.com/ruby/setup-ruby, which is being actively maintained.');
1336+
core.info('------------------------');
13331337
let versionSpec = core.getInput('ruby-version', { required: true });
13341338
if (!versionSpec) {
13351339
// deprecated

src/main.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ import * as cache from './cache';
33

44
export async function run() {
55
try {
6+
core.info('------------------------');
7+
core.info('NOTE: This action is deprecated and is no longer maintained.');
8+
core.info(
9+
'Please, migrate to https://github.com/ruby/setup-ruby, which is being actively maintained.'
10+
);
11+
core.info('------------------------');
12+
613
let versionSpec = core.getInput('ruby-version', {required: true});
714
if (!versionSpec) {
815
// deprecated

0 commit comments

Comments
 (0)