Skip to content

Commit d5f7a29

Browse files
authored
Update node.yml
1 parent 982bcd4 commit d5f7a29

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/node.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,16 @@ jobs:
4949
- name: Install Stellar CLI
5050
run: |
5151
source $HOME/.cargo/env
52-
# Instalar stellar CLI desde el repositorio oficial
53-
cargo install --git https://github.com/stellar/stellar-cli --branch main stellar-cli
52+
if ! command -v stellar &> /dev/null; then
53+
cargo install --git https://github.com/stellar/stellar-cli --branch main stellar-cli --force
54+
fi
5455
5556
- name: Install stellar-scaffold-cli
5657
run: |
5758
source $HOME/.cargo/env
58-
cargo install stellar-scaffold-cli
59+
if ! command -v stellar-scaffold &> /dev/null; then
60+
cargo install stellar-scaffold-cli --force
61+
fi
5962
6063
- name: Verify installations
6164
run: |

0 commit comments

Comments
 (0)