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
64567341a7
@@ -27,7 +27,6 @@ jobs:
|
||||
- run: npm run shellcheck
|
||||
- run: npm run yamllint
|
||||
- run: npm run jslint
|
||||
- run: npm run licenses
|
||||
- name: Check if build left artifacts
|
||||
run: git diff --exit-code
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -6046,7 +6046,7 @@ async function maybeInstallElixir(elixirSpec, otpVersion) {
|
||||
const disableProblemMatchers = core.getInput('disable_problem_matchers', {
|
||||
required: false,
|
||||
})
|
||||
if (!disableProblemMatchers) {
|
||||
if (disableProblemMatchers === 'false') {
|
||||
const matchersPath = __nccwpck_require__.ab + ".github"
|
||||
console.log(
|
||||
`##[add-matcher]${path.join(matchersPath, 'elixir-matchers.json')}`,
|
||||
@@ -6062,7 +6062,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}`)
|
||||
|
||||
+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