neiam
/action-setup-beam
action-setup-beam
public · Issues · Pulls · Labels · Forks · Compare · Actions queued
⭐
Log in to mark this repository.
Handle strings as such (#100)
2e0500f · Paulo F. Oliveira · 2022-04-07 19:27
Message
{commit_body(@commit)}
Files changed
modified
.github/workflows/action.yml
+0
−1
@@ -27,7 +27,6 @@ jobs:
| 27 | 27 | - run: npm run shellcheck |
| 28 | 28 | - run: npm run yamllint |
| 29 | 29 | - run: npm run jslint |
| 30 | − - run: npm run licenses | |
| 31 | 30 | - name: Check if build left artifacts |
| 32 | 31 | run: git diff --exit-code |
| 33 | 32 |
modified
dist/index.js
+2
−2
@@ -6046,7 +6046,7 @@ async function maybeInstallElixir(elixirSpec, otpVersion) {
| 6046 | 6046 | const disableProblemMatchers = core.getInput('disable_problem_matchers', { |
| 6047 | 6047 | required: false, |
| 6048 | 6048 | }) |
| 6049 | − if (!disableProblemMatchers) { | |
| 6049 | + if (disableProblemMatchers === 'false') { | |
| 6050 | 6050 | const matchersPath = __nccwpck_require__.ab + ".github" |
| 6051 | 6051 | console.log( |
| 6052 | 6052 | `##[add-matcher]${path.join(matchersPath, 'elixir-matchers.json')}`, |
@@ -6062,7 +6062,7 @@ async function maybeInstallElixir(elixirSpec, otpVersion) {
| 6062 | 6062 | } |
| 6063 | 6063 | |
| 6064 | 6064 | async function mix(shouldMix, what) { |
| 6065 | − if (shouldMix) { | |
| 6065 | + if (shouldMix === 'true') { | |
| 6066 | 6066 | const cmd = 'mix' |
| 6067 | 6067 | const args = [`local.${what}`, '--force'] |
| 6068 | 6068 | console.log(`##[group]Running ${cmd} ${args}`) |
modified
src/setup-beam.js
+2
−2
@@ -73,7 +73,7 @@ async function maybeInstallElixir(elixirSpec, otpVersion) {
| 73 | 73 | const disableProblemMatchers = core.getInput('disable_problem_matchers', { |
| 74 | 74 | required: false, |
| 75 | 75 | }) |
| 76 | − if (!disableProblemMatchers) { | |
| 76 | + if (disableProblemMatchers === 'false') { | |
| 77 | 77 | const matchersPath = path.join(__dirname, '..', '.github') |
| 78 | 78 | console.log( |
| 79 | 79 | `##[add-matcher]${path.join(matchersPath, 'elixir-matchers.json')}`, |
@@ -89,7 +89,7 @@ async function maybeInstallElixir(elixirSpec, otpVersion) {
| 89 | 89 | } |
| 90 | 90 | |
| 91 | 91 | async function mix(shouldMix, what) { |
| 92 | − if (shouldMix) { | |
| 92 | + if (shouldMix === 'true') { | |
| 93 | 93 | const cmd = 'mix' |
| 94 | 94 | const args = [`local.${what}`, '--force'] |
| 95 | 95 | console.log(`##[group]Running ${cmd} ${args}`) |
Parents: 3e684c4