Skip to content

Commit 502b2df

Browse files
authored
Add Setup Environment step to publish workflows (#351)
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.
1 parent a86b7ce commit 502b2df

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/publish-js.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ jobs:
4646
- name: Git Checkout
4747
uses: actions/checkout@v4
4848

49+
- name: Setup Environment
50+
uses: solana-program/actions/setup-ubuntu@main
51+
4952
- name: Compute variables
5053
id: compute
5154
shell: bash

.github/workflows/publish-rust.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
- name: Git Checkout
5252
uses: actions/checkout@v4
5353

54+
- name: Setup Environment
55+
uses: solana-program/actions/setup-ubuntu@main
56+
5457
- name: Compute variables
5558
id: compute
5659
shell: bash

0 commit comments

Comments
 (0)