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 18a40c1..a12d2ba 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ versions status

+**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. diff --git a/dist/index.js b/dist/index.js index 953942a..32887e4 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 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 diff --git a/src/main.ts b/src/main.ts index bfb0afa..72056d7 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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