From 79a7d34b0f7205be3cd5313d6dfe58eea1f26f02 Mon Sep 17 00:00:00 2001 From: Taku Fukada Date: Thu, 14 Mar 2024 12:16:58 +0900 Subject: [PATCH] =?UTF-8?q?CI:=20=E3=83=AA=E3=83=AA=E3=83=BC=E3=82=B9?= =?UTF-8?q?=E3=83=93=E3=83=AB=E3=83=89=E6=99=82=E3=81=AE=E3=82=AA=E3=83=97?= =?UTF-8?q?=E3=82=B7=E3=83=A7=E3=83=B3=E3=81=A7=E3=83=93=E3=83=AB=E3=83=89?= =?UTF-8?q?=E3=83=97=E3=83=AD=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=82=92?= =?UTF-8?q?=E5=88=87=E3=82=8A=E6=9B=BF=E3=81=88=E3=82=8B=20(#476)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI リリース時に release profile を書き換えるハックではなく、 `--profile release-lto` オプションを付けてビルドするようにします。 ## Summary by CodeRabbit - **パフォーマンス向上** - ビルドプロセスにおいて、最適化オプションの設定を削除し、より効率的なリリースビルドのために`--profile release-lto`オプションを追加しました。 --- .github/workflows/release.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 07716571..cdf0b7be 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -36,17 +36,12 @@ jobs: run: npm install working-directory: ./app - - name: Set optimization options - run: | - echo '[profile.release]' >> Cargo.toml - echo 'lto = "fat"' >> Cargo.toml - echo 'panic = "abort"' >> Cargo.toml - - name: Build the app uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: + args: "--profile release-lto" tagName: ${{ github.event.release.tag_name }} releaseName: "PLATEAU GIS Converter v__VERSION__" releaseDraft: true