Skip to content

Commit

Permalink
Try to debug further
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira committed May 9, 2023
1 parent 724a6d5 commit 683e919
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@ jobs:
- otp-version: '26.0-rc3'
elixir-version: 'v1.14.4'
os: 'windows-latest'
version-type: 'strict'
- otp-version: '26.0-rc2'
elixir-version: 'v1.14.4'
os: 'windows-latest'
version-type: 'strict'
- otp-version: '26.0-rc1'
elixir-version: 'v1.14.4'
os: 'windows-latest'
version-type: 'strict'
- otp-version: 'master'
elixir-version: 'v1.14.4'
os: 'windows-latest'
version-type: 'strict'
- otp-version: '25'
rebar3-version: 'nightly'
os: 'windows-latest'
Expand Down
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9818,7 +9818,8 @@ async function installElixir(elixirVersion, hexMirrors) {
core.exportVariable('ELIXIR_CLI_ECHO', 'true')
}

await exec(path.join(elixirPath, 'elixir.bat'), ['-v'])
const script = path.join(elixirPath, 'elixir.bat')
await exec(`cmd.exe /D=${elixirPath} /S ${script} -v`)

await fs.promises.mkdir(escriptsPath, { recursive: true })
} catch (err) {
Expand Down
3 changes: 2 additions & 1 deletion src/installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ async function installElixir(elixirVersion, hexMirrors) {
core.exportVariable('ELIXIR_CLI_ECHO', 'true')
}

await exec(path.join(elixirPath, 'elixir.bat'), ['-v'])
const script = path.join(elixirPath, 'elixir.bat')
await exec(`cmd.exe /D=${elixirPath} /S ${script} -v`)

await fs.promises.mkdir(escriptsPath, { recursive: true })
} catch (err) {
Expand Down

0 comments on commit 683e919

Please sign in to comment.