diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9bbbcb6..e4ca415 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index e19c2e9..90303db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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'