Skip to content

Commit d902ff4

Browse files
committed
ci: install Flow CLI via official install.sh with FLOW_CLI_VERSION=v2.7.2
1 parent 950fb52 commit d902ff4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/cadence-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515

1616
- name: Install Flow CLI v2.7.2 (matches local)
1717
run: |
18-
curl -sL https://github.com/onflow/flow-cli/releases/download/v2.7.2/flow-linux-amd64 -o flow
19-
chmod +x flow
20-
sudo mv flow /usr/local/bin/flow
18+
export FLOW_CLI_VERSION=v2.7.2
19+
sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)"
20+
echo "$HOME/.local/bin" >> $GITHUB_PATH
2121
flow version
2222
2323
- name: Cache Flow emulator data (disabled)

0 commit comments

Comments
 (0)