mirror of
https://github.com/julia-actions/julia-processcoverage.git
synced 2026-02-12 11:06:58 +08:00
Add build version
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -978,7 +978,7 @@ function run() {
|
|||||||
try {
|
try {
|
||||||
if (require.main) {
|
if (require.main) {
|
||||||
let rootPath = path.dirname(require.main.filename);
|
let rootPath = path.dirname(require.main.filename);
|
||||||
yield exec.exec('julia', ['--color=yes', path.join(rootPath, 'src', 'main.jl')]);
|
yield exec.exec('julia', ['--color=yes', path.join(rootPath, '..', 'src', 'main.jl')]);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
core.setFailed('Require method to load root path did not work.');
|
core.setFailed('Require method to load root path did not work.');
|
||||||
|
|||||||
Reference in New Issue
Block a user