Skip to content

Commit

Permalink
Merge pull request #13 from dscho/prove
Browse files Browse the repository at this point in the history
Make sure that `prove` can be found
  • Loading branch information
dscho authored Feb 18, 2021
2 parents 7fa1f72 + f3d7f70 commit ca6bd93
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
set -x
echo "This is the MSYS2 pseudo root: $(cygpath -aw /)"
test "gcc is /mingw64/bin/gcc" = "$(type gcc)"
test "prove is /usr/bin/core_perl/prove" = "$(type prove)"
prove -V
printf '%s\n' \
"#include <stdio.h>" \
'' \
Expand Down
3 changes: 2 additions & 1 deletion dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ async function run(): Promise<void> {
}
}

// Set up PATH so that Git for Windows' SDK's `bash.exe` is found
// Set up PATH so that Git for Windows' SDK's `bash.exe`, `prove` and `gcc` are found
core.addPath(`${outputDirectory}/usr/bin/core_perl`)
core.addPath(`${outputDirectory}/usr/bin`)
const msystem = architecture === 'i686' ? 'MING32' : 'MINGW64'
core.addPath(`${outputDirectory}/${msystem.toLocaleLowerCase()}/bin`)
Expand Down

0 comments on commit ca6bd93

Please sign in to comment.