File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed
Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 1+ up :
2+ - ruby :
3+ version : ' 3.1.2'
Original file line number Diff line number Diff line change @@ -35984,13 +35984,14 @@ var __webpack_exports__ = {};
3598435984
3598535985
3598635986function run() {
35987+ _actions_core__WEBPACK_IMPORTED_MODULE_2__.startGroup('Gettng the Ruby version')
3598735988 getRubyVersion('dev.yml')
35989+ _actions_core__WEBPACK_IMPORTED_MODULE_2__.endGroup()
35990+
3598835991 // setupDependencies()
3598935992}
3599035993
3599135994function getRubyVersion(path) {
35992- _actions_core__WEBPACK_IMPORTED_MODULE_2__.info("=== Getting the Ruby version")
35993-
3599435995 let devYMLContent;
3599535996
3599635997 try {
@@ -36016,8 +36017,7 @@ function getRubyVersion(path) {
3601636017
3601736018 if (!rubyVersion) { return }
3601836019
36019- console.log
36020-
36020+ _actions_core__WEBPACK_IMPORTED_MODULE_2__.info(`Ruby version ${rubyVersion} detected. Saving for later...`)
3602136021 fs__WEBPACK_IMPORTED_MODULE_0__.writeFileSync(process.env.GITHUB_OUTPUT, rubyVersion, err => {})
3602236022}
3602336023
Original file line number Diff line number Diff line change @@ -3,13 +3,14 @@ import YAML from 'yaml'
33import core from '@actions/core'
44
55export function run ( ) {
6+ core . startGroup ( 'Gettng the Ruby version' )
67 getRubyVersion ( 'dev.yml' )
8+ core . endGroup ( )
9+
710 // setupDependencies()
811}
912
1013export function getRubyVersion ( path ) {
11- core . info ( "=== Getting the Ruby version" )
12-
1314 let devYMLContent ;
1415
1516 try {
@@ -35,8 +36,7 @@ export function getRubyVersion(path) {
3536
3637 if ( ! rubyVersion ) { return }
3738
38- console . log
39-
39+ core . info ( `Ruby version ${ rubyVersion } detected. Saving for later...` )
4040 fs . writeFileSync ( process . env . GITHUB_OUTPUT , rubyVersion , err => { } )
4141}
4242
You can’t perform that action at this time.
0 commit comments