Skip to content

Commit 8d385b2

Browse files
committed
fix(ci): publish hyperdb-api-salesforce before hyperdb-api-core
hyperdb-api-core has an optional dependency on hyperdb-api-salesforce, so cargo publish verification fails if salesforce isn't on crates.io yet.
1 parent 2a720a1 commit 8d385b2

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,17 @@ env:
3232
jobs:
3333
verify:
3434
name: verify
35-
runs-on: macos-14
35+
runs-on: ubuntu-latest
3636
timeout-minutes: 60
3737
steps:
3838
- uses: actions/checkout@v6
3939
with:
4040
ref: ${{ github.event.inputs.tag || github.ref }}
4141

42-
- uses: dtolnay/rust-toolchain@stable
43-
- name: Ensure cargo is on PATH
44-
run: echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
45-
46-
- name: Install protobuf (macOS)
47-
if: runner.os == 'macOS'
48-
run: brew install protobuf
42+
- name: Install system libraries
43+
run: sudo apt-get update -q && sudo apt-get install -y libfontconfig1-dev mold protobuf-compiler
4944

45+
- uses: dtolnay/rust-toolchain@stable
5046
- uses: Swatinem/rust-cache@v2
5147
with:
5248
key: release-verify
@@ -142,8 +138,8 @@ jobs:
142138
# window for small crates.
143139
sleep 45
144140
}
145-
publish hyperdb-api-core
146141
publish hyperdb-api-salesforce
142+
publish hyperdb-api-core
147143
publish hyperdb-api
148144
publish hyperdb-mcp
149145
publish hyperdb-bootstrap

hyperdb-api-salesforce/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ workspace = true
2929

3030
[dev-dependencies]
3131
rand = { workspace = true }
32-
hyperdb-api-core = { path = "../hyperdb-api-core", version = "=0.1.0-rc.1", features = ["salesforce-auth"] }
32+
hyperdb-api-core = { path = "../hyperdb-api-core", features = ["salesforce-auth"] }
3333
arrow = { version = "58.0", default-features = false, features = ["ipc"] }
3434
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
3535
tokio = { version = "1", features = ["full"] }

0 commit comments

Comments
 (0)