Skip to content

Commit 60daef6

Browse files
committed
Add image tag uri
1 parent 75323b8 commit 60daef6

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

dist/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1649,7 +1649,11 @@ module.exports = require("fs");
16491649
const platform = __webpack_require__(87).platform()
16501650

16511651
try {
1652-
console.log(`*** Using Image ${process.env.ImageOS} / ${process.env.ImageVersion}`)
1652+
if (platform !== 'darwin') {
1653+
console.log(`Image tag: https://github.com/actions/virtual-environments/tree/${process.env.ImageOS}/${process.env.ImageVersion}`)
1654+
} else {
1655+
console.log(`Using Image ${process.env.ImageOS} / ${process.env.ImageVersion}`)
1656+
}
16531657

16541658
if (core.getInput('ruby-version') !== '') {
16551659
const fn = `${process.env.RUNNER_TEMP}\\setup_ruby.js`

index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
const platform = require('os').platform()
99

1010
try {
11-
console.log(`*** Using Image ${process.env.ImageOS} / ${process.env.ImageVersion}`)
11+
if (platform !== 'darwin') {
12+
console.log(`Image tag: https://github.com/actions/virtual-environments/tree/${process.env.ImageOS}/${process.env.ImageVersion}`)
13+
} else {
14+
console.log(`Using Image ${process.env.ImageOS} / ${process.env.ImageVersion}`)
15+
}
1216

1317
if (core.getInput('ruby-version') !== '') {
1418
const fn = `${process.env.RUNNER_TEMP}\\setup_ruby.js`

0 commit comments

Comments
 (0)