From 5e4514e33e195404bf84148216972285c5d3c2b4 Mon Sep 17 00:00:00 2001 From: starkbamse <139136798+starkbamse@users.noreply.github.com> Date: Sun, 8 Sep 2024 21:15:39 +0200 Subject: [PATCH] One liner --- .github/workflows/deploy.yaml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 0284f60bd..d0b2ceb8c 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -83,16 +83,10 @@ jobs: run: | if [ "${{ github.event.release.prerelease }}" = "true" ]; then echo "This is a pre-release" - cargo build --bin kaspad --profile=heap - cargo build --bin simpa --profile=heap - cargo build --bin rothschild --profile=heap - cargo build --bin kaspa-wallet --profile=heap + cargo build --bin kaspad --bin simpa --bin rothschild --bin kaspa-wallet --profile=heap else echo "This is a full release" - cargo build --bin kaspad --release - cargo build --bin simpa --release - cargo build --bin rothschild --release - cargo build --bin kaspa-wallet --release + cargo build --bin kaspad --bin simpa --bin rothschild --bin kaspa-wallet --release fi mkdir bin || true cp target/release/kaspad.exe bin/ @@ -110,17 +104,11 @@ jobs: run: | if [ "${{ github.event.release.prerelease }}" = "true" ]; then echo "This is a pre-release" - cargo build --bin kaspad --profile=heap - cargo build --bin simpa --profile=heap - cargo build --bin rothschild --profile=heap - cargo build --bin kaspa-wallet --profile=heap + cargo build --bin kaspad --bin simpa --bin rothschild --bin kaspa-wallet --profile=heap else echo "This is a full release" - cargo build --bin kaspad --release - cargo build --bin simpa --release - cargo build --bin rothschild --release - cargo build --bin kaspa-wallet --release - fi + cargo build --bin kaspad --bin simpa --bin rothschild --bin kaspa-wallet --release + fi mkdir bin || true cp target/release/kaspad bin/ cp target/release/simpa bin/