From a497b15613c2c3be27199fc52859298d8cfb5957 Mon Sep 17 00:00:00 2001 From: NHLOCAL Date: Sun, 23 Jun 2024 03:14:30 +0300 Subject: [PATCH] =?UTF-8?q?=D7=92=D7=A8=D7=A1=D7=AA=20=D7=A4=D7=95=D7=A8?= =?UTF-8?q?=D7=98=D7=91=D7=9C,=20=D7=AA=D7=99=D7=A7=D7=95=D7=9F=20=D7=A9?= =?UTF-8?q?=D7=9D=20=D7=9E=D7=AA=D7=A7=D7=99=D7=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-installer.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-installer.yml b/.github/workflows/publish-installer.yml index cce692a..a89b775 100644 --- a/.github/workflows/publish-installer.yml +++ b/.github/workflows/publish-installer.yml @@ -1,4 +1,4 @@ -name: Publish Installer +name: Publish Installer and Portable Version on: push: @@ -58,7 +58,7 @@ jobs: DisableProgramGroupPage=yes LicenseFile="license.md" PrivilegesRequired=lowest - OutputBaseFilename=מסדר הסינגלים-{#MyAppVersion} + OutputBaseFilename=singles-sorter-installer-{#MyAppVersion} SetupIconFile=src\core\assets\icon.ico SolidCompression=yes Compression=lzma2/ultra64 @@ -86,6 +86,14 @@ jobs: run: | & 'C:\Program Files (x86)\Inno Setup 6\ISCC.exe' inno_setup_script.iss + - name: Create Portable Version + run: | + New-Item -ItemType Directory -Force -Path portable + Copy-Item -Path dist\main.exe -Destination portable\ + Copy-Item -Path src\core\app\* -Destination portable\app\ -Recurse + Copy-Item -Path src\core\assets\icon.png -Destination portable\assets\ + Compress-Archive -Path portable\* -DestinationPath singles-sorter-portable-${{ steps.get_version.outputs.VERSION }}.zip + - name: Create Release uses: softprops/action-gh-release@v2.0.6 env: @@ -96,5 +104,5 @@ jobs: draft: true prerelease: true files: | - dist/main.exe - Output/מסדר הסינגלים-${{ steps.get_version.outputs.VERSION }}.exe \ No newline at end of file + Output/singles-sorter-installer-${{ steps.get_version.outputs.VERSION }}.exe + singles-sorter-portable-${{ steps.get_version.outputs.VERSION }}.zip \ No newline at end of file