8 Commits
v1.1.2 ... v1

Author SHA1 Message Date
Alena Sviridenko
e932e7af67 Deprecation of action
Some checks failed
Licensed / Check licenses (push) Has been cancelled
Deprecation of actions/setup-ruby
2021-02-09 14:42:02 +03:00
AlyonaSviridenko
628c631e13 updated wording, fixed matrix 2021-02-04 14:19:48 +03:00
AlyonaSviridenko
4ac0d0173e updated deprecation messaging 2021-02-04 11:04:13 +03:00
AlyonaSviridenko
9230407778 updated dist/index.js 2021-02-03 15:23:36 +03:00
AlyonaSviridenko
c48caba783 prettier run 2021-02-03 15:00:38 +03:00
AlyonaSviridenko
c624fe2900 reverted gitignore updates 2021-02-03 14:45:00 +03:00
AlyonaSviridenko
e0c4d78b1a added core.info 2021-02-03 14:43:32 +03:00
AlyonaSviridenko
836363748e added deprecation message 2021-01-29 16:44:28 +03:00
4 changed files with 15 additions and 1 deletions

View File

@@ -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

View File

@@ -6,6 +6,9 @@
<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 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).
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.

4
dist/index.js vendored
View File

@@ -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 is no longer 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) {
// deprecated

View File

@@ -3,6 +3,13 @@ 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(
'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) {
// deprecated