Skip to content

Commit 92e49c0

Browse files
committed
chore(ci): download hyperd from Java API bundle in npm-build-publish (#121)
The npm-build-publish workflow still used the C++ API bundle URL (tableauhyperapi-cxx-*) and its SHA-256 hashes for downloading hyperd. PR #121 switched hyperdb-bootstrap to the Java bundle (because the C++ macos-arm64 zip ships an x86_64 hyperd — upstream packaging defect), but missed this workflow which downloads hyperd independently for the npm package build. Switch the URL template from cxx → java and update the per-platform SHA-256 hashes to the Java bundle values (same ones verified and pinned in hyperdb-bootstrap/hyperd-version.toml).
1 parent cf96021 commit 92e49c0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/npm-build-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
os: macos-14
9494
target: aarch64-apple-darwin
9595
hyperd-slug: macos-arm64
96-
hyperd-sha256: "6cec0a90c7e8ddae2b0a623d551cdab4f085b0c6e4655713d6ce164ec20dabc7"
96+
hyperd-sha256: "2b0fa3fefcf4eba60f052e1cb51abfc32d8c84354274513763760f9549b45991"
9797
# TODO: re-enable when macos-13 runners are more available
9898
# - platform: darwin-x64
9999
# os: macos-13
@@ -104,12 +104,12 @@ jobs:
104104
os: ubuntu-latest
105105
target: x86_64-unknown-linux-gnu
106106
hyperd-slug: linux-x86_64
107-
hyperd-sha256: "50f015ea2991afb9440fc93df0520c1b3a077dab609b010cbe1ce17685f44e20"
107+
hyperd-sha256: "3d3fd2104f55f7fad832470592394dc78f350a03d52e89d36c5288b202dd0bc0"
108108
- platform: win32-x64-msvc
109109
os: windows-latest
110110
target: x86_64-pc-windows-msvc
111111
hyperd-slug: windows-x86_64
112-
hyperd-sha256: "918709daae78effa67bac804f8f6f45deea11056272577b73591590e11019f17"
112+
hyperd-sha256: "9dc4851d416e0e6e00f0367ee6b45fcd676e7ba3a110d4644e3bec871b9aa1de"
113113
runs-on: ${{ matrix.os }}
114114
defaults:
115115
run:
@@ -154,7 +154,7 @@ jobs:
154154
EXPECTED_SHA256: ${{ matrix.hyperd-sha256 }}
155155
run: |
156156
set -euo pipefail
157-
URL="https://downloads.tableau.com/tssoftware/tableauhyperapi-cxx-${SLUG}-release-main.${HYPERD_VERSION}.${HYPERD_BUILD_ID}.zip"
157+
URL="https://downloads.tableau.com/tssoftware/tableauhyperapi-java-${SLUG}-release-main.${HYPERD_VERSION}.${HYPERD_BUILD_ID}.zip"
158158
echo "Downloading: $URL"
159159
curl --fail --silent --show-error --location --output hyperd-archive.zip "$URL"
160160
if command -v sha256sum &>/dev/null; then

0 commit comments

Comments
 (0)