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