@@ -32,42 +32,42 @@ jobs:
3232 identifier : " macos-arm"
3333 platform : " macos-latest" # For Arm based macs (M1 and above).
3434 args : " --target aarch64-apple-darwin"
35- portable : false
35+ type : " non-portable "
3636 - name : " macOS x86_64"
3737 identifier : " macos-x86"
3838 platform : " macos-latest" # For Intel based macs.
3939 args : " --target x86_64-apple-darwin"
40- portable : false
40+ type : " non-portable "
4141 - name : " Linux"
4242 identifier : " linux"
4343 platform : " ubuntu-22.04"
4444 args : " "
45- portable : false
45+ type : " non-portable "
4646 - name : " Windows"
4747 identifier : " windows"
4848 platform : " windows-latest"
4949 args : " "
50- portable : false
50+ type : " non-portable "
5151 - name : " macOS ARM (Portable)"
5252 identifier : " macos-arm"
5353 platform : " macos-latest" # For Arm based macs (M1 and above).
5454 args : " --target aarch64-apple-darwin"
55- portable : true
55+ type : " portable "
5656 - name : " macOS x86_64 (Portable)"
5757 identifier : " macos-x86"
5858 platform : " macos-latest" # For Intel based macs.
5959 args : " --target x86_64-apple-darwin"
60- portable : true
60+ type : " portable "
6161 - name : " Linux (Portable)"
6262 identifier : " linux"
6363 platform : " ubuntu-22.04"
6464 args : " "
65- portable : true
65+ type : " portable "
6666 - name : " Windows (Portable)"
6767 identifier : " windows"
6868 platform : " windows-latest"
6969 args : " "
70- portable : true
70+ type : " portable "
7171
7272 runs-on : ${{ matrix.platform }}
7373 steps :
@@ -108,7 +108,7 @@ jobs:
108108 echo "APP_VERSION=$TAG_NAME" >> $env:GITHUB_ENV
109109
110110 - name : Remove File System restrictions (Portable-only)
111- if : matrix.portable
111+ if : matrix.type == ' portable'
112112 uses : restackio/update-json-file-action@6f50afee9a03a456a30cd574123db793319f7544
113113 with :
114114 file : " ./src-tauri/capabilities/plugin-fs.json"
@@ -182,77 +182,77 @@ jobs:
182182 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
183183 with :
184184 if-no-files-found : " warn"
185- name : " ${{ steps.json_properties.outputs.productName }}-nightly-windows-nsis-${{steps.json_properties.outputs.version}}-${{ github.ref_name }}"
185+ name : " ${{ steps.json_properties.outputs.productName }}-nightly-windows-nsis-${{steps.json_properties.outputs.version}}-${{ matrix.type }}-${{ github.ref_name }}"
186186 path : " ./src-tauri/target/release/bundle/nsis/${{ steps.json_properties.outputs.productName }}_${{steps.json_properties.outputs.version}}_x64-setup.exe"
187187
188188 - name : Upload binary (Windows, MSI)
189189 if : (startsWith(github.ref, 'refs/tags/') != true) && matrix.identifier == 'windows'
190190 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
191191 with :
192192 if-no-files-found : " warn"
193- name : " ${{ steps.json_properties.outputs.productName }}-nightly-windows-msi-${{steps.json_properties.outputs.version}}-${{ github.ref_name }}"
193+ name : " ${{ steps.json_properties.outputs.productName }}-nightly-windows-msi-${{steps.json_properties.outputs.version}}-${{ matrix.type }}-${{ github.ref_name }}"
194194 path : " ./src-tauri/target/release/bundle/msi/${{ steps.json_properties.outputs.productName }}_${{steps.json_properties.outputs.version}}_x64_en-US.msi"
195195
196- - name : Upload binary (Windows, portable )
196+ - name : Upload binary (Windows, non-setup )
197197 if : (startsWith(github.ref, 'refs/tags/') != true) && matrix.identifier == 'windows'
198198 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
199199 with :
200200 if-no-files-found : " warn"
201- name : " ${{ steps.json_properties.outputs.productName }}-nightly-windows-portable- ${{steps.json_properties.outputs.version}}-${{ github.ref_name }}"
201+ name : " ${{ steps.json_properties.outputs.productName }}-nightly-windows-non-setup- ${{steps.json_properties.outputs.version}}-${{ matrix.type }}-${{ github.ref_name }}"
202202 path : " ./src-tauri/target/release/${{ steps.json_properties.outputs.productName }}.exe"
203203
204204 - name : Upload binary (Linux, DEB)
205205 if : (startsWith(github.ref, 'refs/tags/') != true) && matrix.identifier == 'linux'
206206 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
207207 with :
208208 if-no-files-found : " warn"
209- name : " ${{ steps.json_properties.outputs.productName }}-nightly-linux-deb-${{steps.json_properties.outputs.version}}-${{ github.ref_name }}"
209+ name : " ${{ steps.json_properties.outputs.productName }}-nightly-linux-deb-${{steps.json_properties.outputs.version}}-${{ matrix.type }}-${{ github.ref_name }}"
210210 path : " ./src-tauri/target/release/bundle/deb/${{ steps.json_properties.outputs.productName }}_${{steps.json_properties.outputs.version}}_amd64.deb"
211211
212212 - name : Upload binary (Linux, RPM)
213213 if : (startsWith(github.ref, 'refs/tags/') != true) && matrix.identifier == 'linux'
214214 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
215215 with :
216216 if-no-files-found : " warn"
217- name : " ${{ steps.json_properties.outputs.productName }}-nightly-linux-rpm-${{steps.json_properties.outputs.version}}-${{ github.ref_name }}"
217+ name : " ${{ steps.json_properties.outputs.productName }}-nightly-linux-rpm-${{steps.json_properties.outputs.version}}-${{ matrix.type }}-${{ github.ref_name }}"
218218 path : " ./src-tauri/target/release/bundle/rpm/${{ steps.json_properties.outputs.productName }}-${{steps.json_properties.outputs.version}}-1.x86_64.rpm"
219219
220220 - name : Upload binary (Linux, AppImage)
221221 if : (startsWith(github.ref, 'refs/tags/') != true) && matrix.identifier == 'linux'
222222 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
223223 with :
224224 if-no-files-found : " warn"
225- name : " ${{ steps.json_properties.outputs.productName }}-nightly-linux-app-image-${{steps.json_properties.outputs.version}}-${{ github.ref_name }}"
225+ name : " ${{ steps.json_properties.outputs.productName }}-nightly-linux-app-image-${{steps.json_properties.outputs.version}}-${{ matrix.type }}-${{ github.ref_name }}"
226226 path : " ./src-tauri/target/release/bundle/appimage/${{ steps.json_properties.outputs.productName }}_${{steps.json_properties.outputs.version}}_amd64.AppImage"
227227
228228 - name : Upload binary (macOS, x86_64, DMG)
229229 if : (startsWith(github.ref, 'refs/tags/') != true) && matrix.identifier == 'macos-x86'
230230 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
231231 with :
232232 if-no-files-found : " warn"
233- name : " ${{ steps.json_properties.outputs.productName }}-nightly-macos-x86_64-dmg-${{steps.json_properties.outputs.version}}-${{ github.ref_name }}"
233+ name : " ${{ steps.json_properties.outputs.productName }}-nightly-macos-x86_64-dmg-${{steps.json_properties.outputs.version}}-${{ matrix.type }}-${{ github.ref_name }}"
234234 path : " ./src-tauri/target/x86_64-apple-darwin/release/bundle/dmg/${{ steps.json_properties.outputs.productName }}_${{steps.json_properties.outputs.version}}_x64.dmg"
235235
236236 - name : Upload binary (macOS, x86_64, tarball)
237237 if : (startsWith(github.ref, 'refs/tags/') != true) && matrix.identifier == 'macos-x86'
238238 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
239239 with :
240240 if-no-files-found : " warn"
241- name : " ${{ steps.json_properties.outputs.productName }}-nightly-macos-x86_64-tarball-${{steps.json_properties.outputs.version}}-${{ github.ref_name }}"
241+ name : " ${{ steps.json_properties.outputs.productName }}-nightly-macos-x86_64-tarball-${{steps.json_properties.outputs.version}}-${{ matrix.type }}-${{ github.ref_name }}"
242242 path : " ./src-tauri/target/x86_64-apple-darwin/release/bundle/macos/${{ steps.json_properties.outputs.productName }}.app.tar.gz"
243243
244244 - name : Upload binary (macOS, ARM, DMG)
245245 if : (startsWith(github.ref, 'refs/tags/') != true) && matrix.identifier == 'macos-arm'
246246 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
247247 with :
248248 if-no-files-found : " warn"
249- name : " ${{ steps.json_properties.outputs.productName }}-nightly-macos-arm-dmg-${{steps.json_properties.outputs.version}}-${{ github.ref_name }}"
249+ name : " ${{ steps.json_properties.outputs.productName }}-nightly-macos-arm-dmg-${{steps.json_properties.outputs.version}}-${{ matrix.type }}-${{ github.ref_name }}"
250250 path : " ./src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/${{ steps.json_properties.outputs.productName }}_${{steps.json_properties.outputs.version}}_aarch64.dmg"
251251
252252 - name : Upload binary (macOS, ARM, tarball)
253253 if : (startsWith(github.ref, 'refs/tags/') != true) && matrix.identifier == 'macos-arm'
254254 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
255255 with :
256256 if-no-files-found : " warn"
257- name : " ${{ steps.json_properties.outputs.productName }}-nightly-macos-arm-tarball-${{steps.json_properties.outputs.version}}-${{ github.ref_name }}"
257+ name : " ${{ steps.json_properties.outputs.productName }}-nightly-macos-arm-tarball-${{steps.json_properties.outputs.version}}-${{ matrix.type }}-${{ github.ref_name }}"
258258 path : " ./src-tauri/target/aarch64-apple-darwin/release/bundle/macos/${{ steps.json_properties.outputs.productName }}.app.tar.gz"
0 commit comments