From e9f5f6c0011caf72a7bb41b39e69ec9a45e42d4d Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Wed, 3 Jan 2024 18:44:35 +0000 Subject: [PATCH] Setup ruby to build ci matrix --- .github/workflows/build.yml | 4 ++++ tasks/packaging.rake | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ef50cdb12..721f1762c3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,6 +75,10 @@ jobs: entries: ${{ steps.set-matrix.outputs.entries }} steps: - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.2" + bundler-cache: false - run: rake ci:pin_build_manifest env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/tasks/packaging.rake b/tasks/packaging.rake index 16c3afec16..d1765a4442 100644 --- a/tasks/packaging.rake +++ b/tasks/packaging.rake @@ -7,7 +7,7 @@ tools = { def npm_pkg_build_command(pkg) [ - "bundle", "exec", "rbwasm", + "bundle", "exec", "exe/rbwasm", "build", "--ruby-version", pkg[:ruby_version], "--target", pkg[:target],