Deprecation of actions/setup-ruby
This commit is contained in:
2
.github/workflows/versions.yml
vendored
2
.github/workflows/versions.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
operating-system: [ubuntu-latest, windows-latest, macos-latest]
|
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:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|||||||
@@ -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>
|
<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>
|
</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).
|
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.
|
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
4
dist/index.js
vendored
@@ -1330,6 +1330,10 @@ const cache = __importStar(__webpack_require__(365));
|
|||||||
function run() {
|
function run() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
try {
|
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 });
|
let versionSpec = core.getInput('ruby-version', { required: true });
|
||||||
if (!versionSpec) {
|
if (!versionSpec) {
|
||||||
// deprecated
|
// deprecated
|
||||||
|
|||||||
@@ -3,6 +3,13 @@ import * as cache from './cache';
|
|||||||
|
|
||||||
export async function run() {
|
export async function run() {
|
||||||
try {
|
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});
|
let versionSpec = core.getInput('ruby-version', {required: true});
|
||||||
if (!versionSpec) {
|
if (!versionSpec) {
|
||||||
// deprecated
|
// deprecated
|
||||||
|
|||||||
Reference in New Issue
Block a user