diff options
author | eitsupi <50911393+eitsupi@users.noreply.github.com> | 2023-08-27 08:26:34 +0000 |
---|---|---|
committer | Tom Milligan <tommilligan@users.noreply.github.com> | 2023-09-09 08:31:25 +0100 |
commit | b658eb6049703f55630de3bbbe2b9e333ab44a0c (patch) | |
tree | b2bf6722548f102a7aa1d06e1c491a80792f7c7b | |
parent | 623291625a66fb69cd5265ea2a3c99ff089dc40d (diff) |
strip via Cargo
-rw-r--r-- | .github/workflows/deploy.yml | 2 | ||||
-rw-r--r-- | Cargo.toml | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 827f4af..dfc6dfb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -78,7 +78,6 @@ jobs: run: | mkdir target/stage cd target/${{ matrix.target }}/release - strip ${{ env.CRATE_NAME }}.exe 7z a ../../stage/${{ env.CRATE_NAME }}-${{ steps.extract_tag.outputs.tag }}-${{ matrix.name }} ${{ env.CRATE_NAME }}.exe cd - - name: Post Setup | Prepare artifacts [-nix] @@ -86,7 +85,6 @@ jobs: run: | mkdir target/stage cd target/${{ matrix.target }}/release - strip ${{ env.CRATE_NAME }} tar czvf ../../stage/${{ env.CRATE_NAME }}-${{ steps.extract_tag.outputs.tag }}-${{ matrix.name }} ${{ env.CRATE_NAME }} cd - - name: Post Setup | Upload artifacts @@ -17,6 +17,9 @@ name = "mdbook-admonish" path = "src/bin/mdbook-admonish.rs" required-features = ["cli"] +[profile.release] +strip = true + [lib] name = "mdbook_admonish" path = "src/lib.rs" |