Browse Source

Particle: update installation method

Benoit Blanchon 4 months ago
parent
commit
5473b0ed5a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .github/workflows/ci.yml

+ 3 - 1
.github/workflows/ci.yml

@@ -398,7 +398,9 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v4
       - name: Install Particle CLI
-        run: sudo npm install -g particle-cli
+        run: |
+          bash <( curl -sL https://particle.io/install-cli )
+          echo "$HOME/bin" >> $GITHUB_PATH
       - name: Login to Particle
         run: particle login -t "${{ secrets.PARTICLE_TOKEN }}"
       - name: Compile