Skip to content

Commit

Permalink
Fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
the2pizza committed Jan 4, 2025
1 parent 3a77787 commit 37eb7b9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ jobs:

- name: Rename binaries with architecture
run: |
mv target/release/api target/release/api-$ARCH
mv target/release/agent target/release/agent-$ARCH
mv target/release/api target/release/api-${{ env.ARCH }}
mv target/release/agent target/release/agent-${{ env.ARCH }}
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/release/api-$ARCH
target/release/agent-$ARCH
target/release/api-${{ env.ARCH }}
target/release/agent-${{ env.ARCH }}
README.md
config-agent-example.toml
config-api-example.toml
Expand Down
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ build = "build.rs"
chrono = { version = "0.4", features = ["serde"] }
clap = { version = "4.0", features = ["derive"] }
config = "0.14"
clickhouse = "0.13.0"
clickhouse = { version = "0.13.0", optional = true }
fern = "0.7"
futures = "0.3"
log = "0.4"
netstat2 = "0.11.1"
netstat2 = { version = "0.11.1", optional = true }
openssl = { version = "0.10", features = ["vendored"] }
prost = "0.13"
prost-derive = "0.13"
prost = { version = "0.13", optional = true }
prost-derive = { version = "0.13", optional = true }
rand = "0.8"
reqwest = { version = "0.12", features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sysinfo = "0.33"
sysinfo = { version = "0.33", optional = true }
time = "0.3"
tonic = "0.12"
tonic = { version = "0.12", optional = true }
toml = "0.8"
tokio = { version = "1", features = ["full"] }
tokio-postgres = { version="0.7", features=["with-uuid-1", "with-chrono-0_4", "with-serde_json-1"]}
Expand All @@ -42,8 +42,8 @@ tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
tokio-util = "0.7"

[features]
agent = []
api = []
agent = ["netstat2", "prost", "prost-derive", "tonic", "sysinfo" ]
api = ["clickhouse"]
default = []
debug = ["console-subscriber"]

Expand Down

0 comments on commit 37eb7b9

Please sign in to comment.