diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index 11138cf9..1aecd9b9 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -448,14 +448,12 @@ jobs: echo "VERSION=$VERSION" >> $env:GITHUB_OUTPUT - name: Rename Installer - working-directory: ${{github.workspace}}/DyssolInstallers/Installers/ shell: pwsh - run: Get-ChildItem -Path "." | Rename-Item -NewName "Dyssol.${{steps.get-version.outputs.VERSION}}.open.setup.exe" + run: Get-ChildItem -Path "${{github.workspace}}/DyssolInstallers/Installers/" | Rename-Item -NewName "${{github.workspace}}/Dyssol.${{steps.get-version.outputs.VERSION}}.open.setup.exe" - name: Zip Portable Installer - working-directory: ${{github.workspace}}/DyssolInstallers/Installers/ shell: pwsh - run: Compress-Archive -Path 'C:/Program Files/Dyssol' -DestinationPath ${{github.workspace}}/DyssolInstallers/Installers/Dyssol.${{steps.get-version.outputs.VERSION}}.open.portable.zip + run: Compress-Archive -Path 'C:/Program Files/Dyssol' -DestinationPath ${{github.workspace}}/Dyssol.${{steps.get-version.outputs.VERSION}}.open.portable.zip - name: Release uses: softprops/action-gh-release@v2 @@ -464,8 +462,8 @@ jobs: draft: 'true' body_path: CHANGELOG files: | - ${{github.workspace}}/DyssolInstallers/Installers/Dyssol.${{steps.get-version.outputs.VERSION}}.open.setup.exe - ${{github.workspace}}/DyssolInstallers/Installers/Dyssol.${{steps.get-version.outputs.VERSION}}.open.portable.zip + Dyssol.${{steps.get-version.outputs.VERSION}}.open.setup.exe + Dyssol.${{steps.get-version.outputs.VERSION}}.open.portable.zip cleanup: runs-on: windows-2019