From 6f80ad69d8feab3b395dec305acc9b4d3c24cc3f Mon Sep 17 00:00:00 2001 From: Loris Leiva Date: Wed, 15 Jul 2026 14:19:36 +0100 Subject: [PATCH] Add Setup Environment step to publish workflows Adds the missing `Setup Environment` step to the `set_env` job of the publish-js and publish-rust workflows so `toml-cli` is available when computing the Solana CLI version. Without it, `make solana-cli-version` returned an empty value, which made the Solana install target a malformed URL and fail on a cold cache. --- .github/workflows/publish-js.yml | 3 +++ .github/workflows/publish-rust.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/publish-js.yml b/.github/workflows/publish-js.yml index 1be9c7f..72624e3 100644 --- a/.github/workflows/publish-js.yml +++ b/.github/workflows/publish-js.yml @@ -46,6 +46,9 @@ jobs: - name: Git Checkout uses: actions/checkout@v4 + - name: Setup Environment + uses: solana-program/actions/setup-ubuntu@main + - name: Compute variables id: compute shell: bash diff --git a/.github/workflows/publish-rust.yml b/.github/workflows/publish-rust.yml index 48fed4c..7ac56a6 100644 --- a/.github/workflows/publish-rust.yml +++ b/.github/workflows/publish-rust.yml @@ -51,6 +51,9 @@ jobs: - name: Git Checkout uses: actions/checkout@v4 + - name: Setup Environment + uses: solana-program/actions/setup-ubuntu@main + - name: Compute variables id: compute shell: bash