Skip to content

Commit

Permalink
add arch to linux too
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberbeni committed Oct 9, 2020
1 parent 01c4d9e commit cf502d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/helpers.js

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

2 changes: 1 addition & 1 deletion src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function getUuid(url: string, commitHash: string): Promise<string>
osVersion = await exec('uname', ['-v']) // os.version is somehow undefined on GitHub runner
}
const swiftVersion = await exec('swift', ['-version'])
additionalInfo = `${osVersion}-${swiftVersion}`
additionalInfo = `${osVersion}-${os.arch()}-${swiftVersion}`
}
return _uuid(`${url}-${commitHash}-${additionalInfo}`, '6050636b-7499-41d4-b9c6-756aff9856d0')
}

0 comments on commit cf502d7

Please sign in to comment.