mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-23 07:06:07 +00:00
Handle strings as such (#100)
* Handle strings as such * Let automation do its thing
This commit is contained in:
committed by
GitHub
parent
3e684c4e0b
commit
2e0500f2a5
+2
-2
@@ -73,7 +73,7 @@ async function maybeInstallElixir(elixirSpec, otpVersion) {
|
||||
const disableProblemMatchers = core.getInput('disable_problem_matchers', {
|
||||
required: false,
|
||||
})
|
||||
if (!disableProblemMatchers) {
|
||||
if (disableProblemMatchers === 'false') {
|
||||
const matchersPath = path.join(__dirname, '..', '.github')
|
||||
console.log(
|
||||
`##[add-matcher]${path.join(matchersPath, 'elixir-matchers.json')}`,
|
||||
@@ -89,7 +89,7 @@ async function maybeInstallElixir(elixirSpec, otpVersion) {
|
||||
}
|
||||
|
||||
async function mix(shouldMix, what) {
|
||||
if (shouldMix) {
|
||||
if (shouldMix === 'true') {
|
||||
const cmd = 'mix'
|
||||
const args = [`local.${what}`, '--force']
|
||||
console.log(`##[group]Running ${cmd} ${args}`)
|
||||
|
||||
Reference in New Issue
Block a user