diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 70e92df1b..d66862732 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -26,9 +26,9 @@ jobs: - uses: actions-rs/cargo@v1 with: command: build - args: --release + args: --profile binrelease - name: Upload Release - run: gh release upload --repo oxidecomputer/humility nightly --clobber target/release/humility + run: gh release upload --repo oxidecomputer/humility nightly --clobber target/binrelease/humility env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Cargo.toml b/Cargo.toml index fdcb8e799..e500974a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -282,6 +282,10 @@ zip = "8.6.0" [profile.release] debug = true +[profile.binrelease] +inherits = "release" +debug = "line-tables-only" + [profile.ci] inherits = "release" debug = false