Skip to content

Commit

Permalink
Fix runner.os and runner.arch values
Browse files Browse the repository at this point in the history
  • Loading branch information
socheatsok78 committed Jun 2, 2024
1 parent 349012f commit dace24b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const tc = require('@actions/tool-cache');
const { compareVersions } = require('compare-versions');

const runner = {
os: process.env['RUNNER_OS'] ?? 'linux',
arch: process.env['RUNNER_ARCH'] ?? 'x64'
os: String(process.env['RUNNER_OS'] ?? 'linux').toLowerCase(),
arch: String(process.env['RUNNER_ARCH'] ?? 'x64').toLowerCase(),
}

const parseStrictInput= (strict = "false") => {
Expand Down

0 comments on commit dace24b

Please sign in to comment.