mirror of
https://github.com/actions/setup-go.git
synced 2025-08-15 05:05:07 +00:00
format
This commit is contained in:
parent
abe7d6b8af
commit
60b6f6b09a
@ -503,7 +503,10 @@ export function parseGoVersionFile(versionFilePath: string): string {
|
|||||||
return contents.trim();
|
return contents.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
async function resolveStableVersionDist(versionSpec: string, arch: Architecture) {
|
async function resolveStableVersionDist(
|
||||||
|
versionSpec: string,
|
||||||
|
arch: Architecture
|
||||||
|
) {
|
||||||
const archFilter = sys.getArch(arch);
|
const archFilter = sys.getArch(arch);
|
||||||
const platFilter = sys.getPlatform();
|
const platFilter = sys.getPlatform();
|
||||||
const dlUrl = 'https://golang.org/dl/?mode=json&include=all';
|
const dlUrl = 'https://golang.org/dl/?mode=json&include=all';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user