From d2cd13bf2e158a86b6fb9d5c43ca4e0b7e1f60f1 Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Wed, 8 Feb 2023 16:32:57 +0100 Subject: [PATCH] CI: automatically publish Particle library --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c2efcafe..aa608f45 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,3 +60,15 @@ jobs: name: ArduinoJson namespace: bblanchon api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }} + + particle: + runs-on: ubuntu-latest + steps: + - name: Install + run: npm install -g particle-cli + - name: Checkout + uses: actions/checkout@v3 + - name: Login + run: particle login --token ${{ secrets.PARTICLE_TOKEN }} + - name: Publish + run: extras/scripts/publish-particle-library.sh