Skip to content

Commit 5f96515

Browse files
committed
Particle: update installation method
1 parent bec657e commit 5f96515

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,9 @@ jobs:
398398
- name: Checkout
399399
uses: actions/checkout@v4
400400
- name: Install Particle CLI
401-
run: sudo npm install -g particle-cli
401+
run: |
402+
bash <( curl -sL https://particle.io/install-cli )
403+
echo "$HOME/bin" >> $GITHUB_PATH
402404
- name: Login to Particle
403405
run: particle login -t "${{ secrets.PARTICLE_TOKEN }}"
404406
- name: Compile

0 commit comments

Comments
 (0)