From 41158fac247b6102ea81ad067aa53c7f6968d156 Mon Sep 17 00:00:00 2001 From: smokingplaya <82664853+smokingplaya@users.noreply.github.com> Date: Mon, 23 Sep 2024 14:15:17 +0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ccd5b10..969bccc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,9 +51,7 @@ jobs: - name: Rename executable for Windows if: matrix.os == 'windows-latest' run: | - $sourcePath = Join-Path -Path "target\release" -ChildPath $env:EXE_NAME - $destinationPath = Join-Path -Path "target\release" -ChildPath $env:OUTPUT_NAME - Rename-Item -Path $sourcePath -NewName $destinationPath + Rename-Item -Path "target\release\$($env:EXE_NAME)" -NewName $($env:OUTPUT_NAME) shell: pwsh - name: Create Release