Skip to content

Commit

Permalink
One liner
Browse files Browse the repository at this point in the history
  • Loading branch information
saefstroem committed Sep 8, 2024
1 parent fd28fce commit 5e4514e
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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/
Expand Down

0 comments on commit 5e4514e

Please sign in to comment.