Skip to content

Commit 3d5a609

Browse files
committed
fix: correct rattler-build condition syntax for osx and win build scripts
1 parent 4b9833c commit 3d5a609

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

recipe/recipe.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ build:
2020
then:
2121
# cf. https://github.com/stakpak/agent/blob/main/cli/src/main.rs#L17
2222
- cargo auditable install --locked --no-track --bins --features jemalloc --root ${{ PREFIX }} --path cli
23-
else if: unix
23+
- if: osx
24+
then:
2425
- cargo auditable install --locked --no-track --bins --root ${{ PREFIX }} --path cli
25-
else:
26+
- if: win
27+
then:
2628
- cargo auditable install --locked --no-track --bins --root %LIBRARY_PREFIX% --path cli
2729
- cargo-bundle-licenses --format yaml --output ./THIRDPARTY.yml
2830

0 commit comments

Comments
 (0)