Skip to content

Commit cd5cdc8

Browse files
authored
Add Setup Environment step to publish workflows (#167)
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 fc8b5aa commit cd5cdc8

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
@@ -45,6 +45,9 @@ jobs:
4545
- name: Git Checkout
4646
uses: actions/checkout@v4
4747

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

.github/workflows/publish-rust.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ jobs:
5454
- name: Git Checkout
5555
uses: actions/checkout@v4
5656

57+
- name: Setup Environment
58+
uses: solana-program/actions/setup-ubuntu@main
59+
5760
- name: Compute variables
5861
id: compute
5962
shell: bash

0 commit comments

Comments
 (0)