From 258f821ea86ececf4444266b123cf82d55fab8f6 Mon Sep 17 00:00:00 2001 From: Segev Finer Date: Tue, 14 Nov 2023 02:41:56 +0200 Subject: [PATCH] Test split-debuginfo --- .github/workflows/release.yml | 4 ++-- Cargo.toml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2873202..0e12bd5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: {} push: tags: - - v[0-9].* + - v[0-9]* jobs: release: @@ -60,7 +60,7 @@ jobs: - name: Release uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') + if: github.ref_type == 'tag' with: draft: true files: ${{ env.ASSET }} diff --git a/Cargo.toml b/Cargo.toml index c36f91c..b01a598 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,8 +15,9 @@ exclude = ["/tools/"] bin = ["dep:clap", "dep:clap_complete", "dep:ctrlc", "dep:shadow-rs", "dep:sysinfo"] [profile.release] -strip = true lto = "thin" +strip = true +split-debuginfo = "packed" [[bin]] name = "keepawake"