Skip to content

Commit

Permalink
fix: optimize release
Browse files Browse the repository at this point in the history
  • Loading branch information
yorodm committed Aug 19, 2020
1 parent 671445b commit 46e1f71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
- name: linux
os: ubuntu-latest
artifact_name: awstail
asset_name: awstail-linux
asset_name: awstail
- name: windows
os: windows-latest
artifact_name: awstail.exe
asset_name: awstail-windows
asset_name: awstail.exe

steps:
- uses: actions/checkout@v1
Expand Down
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ futures = "0.3"
tokio = { version = "0.2.22", features = ["macros"] }
futures-util = "0.3.5"
anyhow = "1.0"
[profile.release]
opt-level = 'z'
lto = true
codegen-units = 1
panic = 'abort'

0 comments on commit 46e1f71

Please sign in to comment.