mirror of
https://github.com/actions/setup-go.git
synced 2025-06-30 13:13:43 +00:00
chore(ci) update dependencies
Signed-off-by: Matthieu MOREL <mmorel-35@users.noreply.github.com> Co-Authored-By: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
331ce1d993
commit
e440d68e55
18 changed files with 9833 additions and 11226 deletions
|
@ -40,12 +40,11 @@ export async function run() {
|
|||
core.info(`##[add-matcher]${matchersPath}`);
|
||||
|
||||
// output the version actually being used
|
||||
let goPath = await io.which('go');
|
||||
let goVersion = (cp.execSync(`${goPath} version`) || '').toString();
|
||||
let goVersion = (cp.execSync(`go version`) || '').toString();
|
||||
core.info(goVersion);
|
||||
|
||||
core.startGroup('go env');
|
||||
let goEnv = (cp.execSync(`${goPath} env`) || '').toString();
|
||||
let goEnv = (cp.execSync(`go env`) || '').toString();
|
||||
core.info(goEnv);
|
||||
core.endGroup();
|
||||
} catch (error) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
let os = require('os');
|
||||
import os from 'os';
|
||||
|
||||
export function getPlatform(): string {
|
||||
// darwin and linux match already
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue