From d09e1148b26a61d1f32216fb4108cbc9aa5a6783 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Mon, 15 Nov 2021 13:47:46 -0600 Subject: [PATCH] add the ability to strip the debug symbols for smaller binaries on mac and linux --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93bd73388f..9a4374f9f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,9 @@ jobs: command: build args: --release --all --features=extra + - name: Strip release binary (linux) + run: strip "target/${{ matrix.target }}/release/nu*" + - name: Create output directory run: mkdir output @@ -70,6 +73,9 @@ jobs: command: build args: --release --all --features=extra + - name: Strip release binary (macos) + run: strip "target/${{ matrix.target }}/release/nu*" + - name: Create output directory run: mkdir output