opt(build): strip foreign platform ArgyllCMS binaries in CI packaging (v0.1.9) #53
@@ -80,6 +80,11 @@ jobs:
|
||||
echo "APP_VERSION=${VERSION}-dev" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: Prepare platform-specific resources
|
||||
run: |
|
||||
echo "Removing Windows ArgyllCMS binaries to avoid bundling them in Linux packages..."
|
||||
rm -rf src-tauri/argyll/windows-x86_64
|
||||
|
||||
- name: Build Tauri App
|
||||
env:
|
||||
APPIMAGE_EXTRACT_AND_RUN: 1
|
||||
|
||||
@@ -64,6 +64,14 @@ jobs:
|
||||
"APP_VERSION=$VERSION-dev" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||
}
|
||||
|
||||
- name: Prepare platform-specific resources
|
||||
shell: powershell
|
||||
run: |
|
||||
if (Test-Path "src-tauri\argyll\linux-x86_64") {
|
||||
Write-Host "Removing Linux ArgyllCMS binaries to avoid bundling them in Windows installer..."
|
||||
Remove-Item -Recurse -Force "src-tauri\argyll\linux-x86_64"
|
||||
}
|
||||
|
||||
- name: Build Tauri App
|
||||
run: npm run tauri build -- -v
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "iccery",
|
||||
"private": true,
|
||||
"version": "0.1.8",
|
||||
"version": "0.1.9",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"tauri": "tauri"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "iccery"
|
||||
version = "0.1.8"
|
||||
version = "0.1.9"
|
||||
description = "A Tauri App"
|
||||
authors = ["you"]
|
||||
edition = "2021"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "ICCery",
|
||||
"version": "0.1.8",
|
||||
"version": "0.1.9",
|
||||
"identifier": "com.gronod.iccery",
|
||||
"build": {
|
||||
"frontendDist": "../src"
|
||||
|
||||
Reference in New Issue
Block a user