We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adbc375 commit 73d0468Copy full SHA for 73d0468
.github/workflows/publish.yaml
@@ -137,7 +137,7 @@ jobs:
137
- name: Rust Cache
138
uses: Swatinem/[email protected]
139
with:
140
- shared-key: app-release-build
+ shared-key: app-release-build-${{ github.event.inputs.channel || 'nightly' }}
141
- name: Init Node Environment
142
uses: ./.github/actions/init-env-node
143
@@ -191,6 +191,12 @@ jobs:
191
192
name: sveltekit-build
193
path: ./apps/desktop/build/
194
+ - name: Set release build optimization env vars
195
+ shell: bash
196
+ if: github.event.inputs.channel == 'release'
197
+ run: |
198
+ echo "CARGO_PROFILE_RELEASE_LTO=fat" >> $GITHUB_ENV
199
+ echo "CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1" >> $GITHUB_ENV
200
- name: Build binary
201
shell: bash
202
run: |
0 commit comments