mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-07-09 20:17:31 +00:00
Merge remote-tracking branch 'origin/master' into flarco/master
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
+2
-2
@@ -28,8 +28,8 @@ export async function install(distribution: string, version: string): Promise<st
|
||||
core.info('Extracting GoReleaser');
|
||||
let extPath: string;
|
||||
if (context.osPlat == 'win32') {
|
||||
if(!downloadPath.endsWith('.zip')) {
|
||||
let newPath = downloadPath + '.zip';
|
||||
if (!downloadPath.endsWith('.zip')) {
|
||||
const newPath = downloadPath + '.zip';
|
||||
fs.renameSync(downloadPath, newPath);
|
||||
extPath = await tc.extractZip(newPath);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user