mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-07-08 14:37:29 +00:00
Add tests
This commit is contained in:
+4
-1
@@ -35,7 +35,10 @@ export async function getGoReleaser(version: string): Promise<string> {
|
||||
extPath = await tc.extractTar(`${tmpdir}/${fileName}`);
|
||||
}
|
||||
|
||||
return path.join(extPath, 'goreleaser');
|
||||
return path.join(
|
||||
extPath,
|
||||
osPlat == 'win32' ? 'goreleaser.exe' : 'goreleaser'
|
||||
);
|
||||
}
|
||||
|
||||
function getFileName(): string {
|
||||
|
||||
Reference in New Issue
Block a user