From b4137306c43e8a41671e204920efc347bbf65cc0 Mon Sep 17 00:00:00 2001 From: Loris Leiva Date: Wed, 15 Jul 2026 14:22:15 +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 7663d1a..9869365 100644 --- a/.github/workflows/publish-js.yml +++ b/.github/workflows/publish-js.yml @@ -45,6 +45,9 @@ jobs: - name: Git Checkout uses: actions/checkout@v4 + - 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 c7ab84d..b57e821 100644 --- a/.github/workflows/publish-rust.yml +++ b/.github/workflows/publish-rust.yml @@ -52,6 +52,9 @@ jobs: - name: Git Checkout uses: actions/checkout@v4 + - name: Setup Environment + uses: solana-program/actions/setup-ubuntu@main + - name: Summarise workflow inputs uses: solana-program/actions/workflow-inputs@v1