mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2024-12-28 13:35:50 +00:00
17 lines
552 B
TypeScript
17 lines
552 B
TypeScript
|
export interface IToolReleaseFile {
|
||
|
filename: string;
|
||
|
platform: string;
|
||
|
platform_version?: string;
|
||
|
arch: string;
|
||
|
download_url: string;
|
||
|
}
|
||
|
export interface IToolRelease {
|
||
|
version: string;
|
||
|
stable: boolean;
|
||
|
release_url: string;
|
||
|
files: IToolReleaseFile[];
|
||
|
}
|
||
|
export declare function _findMatch(versionSpec: string, stable: boolean, candidates: IToolRelease[], archFilter: string): Promise<IToolRelease | undefined>;
|
||
|
export declare function _getOsVersion(): string;
|
||
|
export declare function _readLinuxVersionFile(): string;
|