Skip to content

Commit 4fd0a32

Browse files
authored
Add environment variables for cargo build
1 parent 569c718 commit 4fd0a32

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ jobs:
4343
xdg-utils libglib2.0-bin desktop-file-utils
4444
4545
- name: Build binary
46+
env:
47+
CARGO_BUILD_JOBS: "2"
48+
CARGO_PROFILE_RELEASE_CODEGEN_UNITS: "4"
4649
run: nix build .#packages.${{ matrix.system }}.korppi-bin --accept-flake-config
4750

4851
- name: Upload binary

0 commit comments

Comments
 (0)