@@ -398,6 +398,7 @@ module.exports = require("assert");
398398
399399"use strict" ;
400400__webpack_require__ . r ( __webpack_exports__ ) ;
401+ /* harmony export (binding) */ __webpack_require__ . d ( __webpack_exports__ , "version" , function ( ) { return version ; } ) ;
401402/* harmony export (binding) */ __webpack_require__ . d ( __webpack_exports__ , "download" , function ( ) { return download ; } ) ;
402403/* harmony export (binding) */ __webpack_require__ . d ( __webpack_exports__ , "ruby" , function ( ) { return ruby ; } ) ;
403404/* harmony export (binding) */ __webpack_require__ . d ( __webpack_exports__ , "execSync" , function ( ) { return execSync ; } ) ;
@@ -422,6 +423,8 @@ const colors = {
422423}
423424const rst = '\x1b[0m'
424425
426+ const version = JSON . parse ( fs . readFileSync ( __webpack_require__ . ab + "package.json" , 'utf8' ) ) . version
427+
425428const download = async ( uri , dest , log = true ) => {
426429 // make sure the folder exists
427430 if ( ! fs . existsSync ( path . dirname ( dest ) ) ) {
@@ -711,7 +714,7 @@ const run = async () => {
711714 * used when MSYS2 install or server have problems
712715 */
713716 RELEASE_ASSET = fs . lstatSync ( 'C:\\msys64' ) . isSymbolicLink ( ) ?
714- 'msys2-2020-04-22 ' : null
717+ 'msys2-2020-05-01 ' : null
715718 if ( RELEASE_ASSET ) {
716719 msSt = grpSt ( 'Updating MSYS2' )
717720 await installMSYS2 ( )
@@ -1721,7 +1724,7 @@ module.exports = require("fs");
17211724
17221725 if ( core . getInput ( 'ruby-version' ) !== '' ) {
17231726 const fn = `${ process . env . RUNNER_TEMP } \\setup_ruby.js`
1724- common . log ( ' Running ruby/setup-ruby' )
1727+ common . log ( ` Running ruby/setup-ruby ${ common . version } ` )
17251728 const msSt = performance . now ( )
17261729 await common . download ( 'https://raw.githubusercontent.com/ruby/setup-ruby/v1/dist/index.js' , fn , false )
17271730 await require ( fn ) . run ( )
0 commit comments