Skip to content

Commit 339f055

Browse files
committed
Clarify Windows check
1 parent 0592d01 commit 339f055

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export async function setupRuby(options = {}) {
3939
const [engine, parsedVersion] = parseRubyEngineAndVersion(inputs['ruby-version'])
4040

4141
let installer
42-
if (platform === 'windows-latest' && engine === 'ruby') {
42+
if (platform.startsWith('windows-') && engine === 'ruby') {
4343
installer = require('./windows')
4444
} else {
4545
installer = require('./ruby-builder')

0 commit comments

Comments
 (0)