Skip to content

Commit be3707c

Browse files
committed
Particle: update installation method
1 parent 6faa5a1 commit be3707c

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
@@ -20,7 +20,9 @@ jobs:
2020
- name: Checkout
2121
uses: actions/checkout@v4
2222
- name: Install Particle CLI
23-
run: sudo npm install -g particle-cli
23+
run: |
24+
bash <( curl -sL https://particle.io/install-cli )
25+
echo "$HOME/bin" >> $GITHUB_PATH
2426
- name: Login to Particle
2527
run: particle login -t "${{ secrets.PARTICLE_TOKEN }}"
2628
- name: Compile

0 commit comments

Comments
 (0)