From 19bcce80fa86172ce1376d024659d00cdbfff5bf Mon Sep 17 00:00:00 2001 From: Nguyen Ngoc Minh <91668012+Minh141120@users.noreply.github.com> Date: Fri, 6 Jun 2025 16:02:09 +0700 Subject: [PATCH] ci: update file size tauri build template macos and windows (#5208) * chore: update filesize latest-mac.yaml * chore: disable createUpdaterArtifacts as handled on ci * chore: update file size latest.yaml --- .github/workflows/template-tauri-build-macos.yml | 2 +- .github/workflows/template-tauri-build-windows-x64.yml | 2 +- src-tauri/tauri.conf.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/template-tauri-build-macos.yml b/.github/workflows/template-tauri-build-macos.yml index d2cceedad..6999ff77e 100644 --- a/.github/workflows/template-tauri-build-macos.yml +++ b/.github/workflows/template-tauri-build-macos.yml @@ -219,7 +219,7 @@ jobs: echo "files:" >> latest-mac.yml echo " - url: $FILE_NAME" >> latest-mac.yml echo " sha512: $SH512_CHECKSUM" >> latest-mac.yml - echo " size: $FILE_NAME" >> latest-mac.yml + echo " size: $FILE_SIZE" >> latest-mac.yml echo "path: $FILE_NAME" >> latest-mac.yml echo "sha512: $SH512_CHECKSUM" >> latest-mac.yml echo "releaseDate: $CURRENT_TIME" >> latest-mac.yml diff --git a/.github/workflows/template-tauri-build-windows-x64.yml b/.github/workflows/template-tauri-build-windows-x64.yml index 3b824ee61..47b5663cb 100644 --- a/.github/workflows/template-tauri-build-windows-x64.yml +++ b/.github/workflows/template-tauri-build-windows-x64.yml @@ -226,7 +226,7 @@ jobs: echo "files:" >> latest.yml echo " - url: $FILE_NAME" >> latest.yml echo " sha512: $SH512_CHECKSUM" >> latest.yml - echo " size: $FILE_NAME" >> latest.yml + echo " size: $FILE_SIZE" >> latest.yml echo "path: $FILE_NAME" >> latest.yml echo "sha512: $SH512_CHECKSUM" >> latest.yml echo "releaseDate: $CURRENT_TIME" >> latest.yml diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 80f107dc4..545873172 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -74,7 +74,7 @@ "bundle": { "active": true, "targets": ["nsis", "app", "dmg", "deb", "appimage"], - "createUpdaterArtifacts": true, + "createUpdaterArtifacts": false, "icon": [ "icons/32x32.png", "icons/128x128.png",