From dc1254fd473221914a5b439b6808597752a35f26 Mon Sep 17 00:00:00 2001 From: Loris Leiva Date: Wed, 15 Jul 2026 14:18:40 +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 89456f7..6c6036e 100644 --- a/.github/workflows/publish-js.yml +++ b/.github/workflows/publish-js.yml @@ -45,6 +45,9 @@ jobs: - name: Git Checkout uses: actions/checkout@v6 + - name: Setup Environment + uses: solana-program/actions/setup-ubuntu@main + - name: Summarise workflow inputs uses: solana-program/actions/workflow-inputs@v1 diff --git a/.github/workflows/publish-rust.yml b/.github/workflows/publish-rust.yml index 12b649e..8bf06cc 100644 --- a/.github/workflows/publish-rust.yml +++ b/.github/workflows/publish-rust.yml @@ -51,6 +51,9 @@ jobs: - name: Git Checkout uses: actions/checkout@v6 + - name: Setup Environment + uses: solana-program/actions/setup-ubuntu@main + - name: Summarise workflow inputs uses: solana-program/actions/workflow-inputs@v1