7575 - name : Build Tauri (x64)
7676 run : pnpm tauri build --target x86_64-pc-windows-msvc
7777
78+ - name : Prepare portable executable
79+ run : |
80+ VERSION="${{ needs.create-release.outputs.version }}"
81+ cp src-tauri/target/x86_64-pc-windows-msvc/release/ZeroLimit.exe "ZeroLimit_${VERSION}_portable.exe"
82+
7883 - name : Upload artifacts to release
7984 uses : softprops/action-gh-release@v2
8085 with :
8590 src-tauri/target/x86_64-pc-windows-msvc/release/bundle/nsis/*.exe.sig
8691 src-tauri/target/x86_64-pc-windows-msvc/release/bundle/msi/*.msi
8792 src-tauri/target/x86_64-pc-windows-msvc/release/bundle/msi/*.msi.sig
93+ ZeroLimit_*_portable.exe
8894
8995 build-windows-arm64 :
9096 needs : create-release
@@ -125,6 +131,11 @@ jobs:
125131 - name : Build Tauri (ARM64)
126132 run : pnpm tauri build --target aarch64-pc-windows-msvc
127133
134+ - name : Prepare portable executable
135+ run : |
136+ VERSION="${{ needs.create-release.outputs.version }}"
137+ cp src-tauri/target/aarch64-pc-windows-msvc/release/ZeroLimit.exe "ZeroLimit_${VERSION}_arm64_portable.exe"
138+
128139 - name : Upload artifacts to release
129140 uses : softprops/action-gh-release@v2
130141 with :
@@ -135,6 +146,7 @@ jobs:
135146 src-tauri/target/aarch64-pc-windows-msvc/release/bundle/nsis/*.exe.sig
136147 src-tauri/target/aarch64-pc-windows-msvc/release/bundle/msi/*.msi
137148 src-tauri/target/aarch64-pc-windows-msvc/release/bundle/msi/*.msi.sig
149+ ZeroLimit_*_portable.exe
138150
139151 publish-release :
140152 needs : [create-release, build-windows-x64, build-windows-arm64]
0 commit comments