mirror of
https://github.com/actions/setup-go.git
synced 2025-04-23 17:40:50 +00:00
fix tests and change to dirname
This commit is contained in:
parent
ac150f8555
commit
865dc0ce0e
4 changed files with 5045 additions and 5045 deletions
|
@ -85,7 +85,7 @@ describe('setup-go', () => {
|
||||||
});
|
});
|
||||||
logSpy.mockImplementation(line => {
|
logSpy.mockImplementation(line => {
|
||||||
// uncomment to debug
|
// uncomment to debug
|
||||||
process.stderr.write('log:' + line + '\n');
|
// process.stderr.write('log:' + line + '\n');
|
||||||
});
|
});
|
||||||
dbgSpy.mockImplementation(msg => {
|
dbgSpy.mockImplementation(msg => {
|
||||||
// uncomment to see debug output
|
// uncomment to see debug output
|
||||||
|
|
5042
dist/cache-save/index.js
vendored
5042
dist/cache-save/index.js
vendored
File diff suppressed because it is too large
Load diff
5044
dist/setup/index.js
vendored
5044
dist/setup/index.js
vendored
File diff suppressed because it is too large
Load diff
|
@ -53,7 +53,7 @@ export async function run() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// add problem matchers
|
// add problem matchers
|
||||||
const matchersPath = path.join(process.cwd(), 'matchers.json');
|
const matchersPath = path.join(__dirname, '../..', 'matchers.json');
|
||||||
core.info(`##[add-matcher]${matchersPath}`);
|
core.info(`##[add-matcher]${matchersPath}`);
|
||||||
|
|
||||||
// output the version actually being used
|
// output the version actually being used
|
||||||
|
|
Loading…
Add table
Reference in a new issue