From 0360b58539d6e5dbf4baa2043caeec472bf4b7cf Mon Sep 17 00:00:00 2001 From: Xavier Brassoud Date: Fri, 3 May 2024 00:49:31 +0200 Subject: [PATCH] ci: Fix PlatformIO publish (#7) * ci: Fix PlatformIO publish Add missing "id" parameter * Force publish * Remove examples section Due to rejected message and prevent future maintenance * Revert release guards --- .github/workflows/release.yml | 1 + library.json | 59 +---------------------------------- 2 files changed, 2 insertions(+), 58 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fe29813..c2ce675 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,7 @@ jobs: steps: # Add packages to update into release-please-config.json - name: Write new version to packages + id: release uses: google-github-actions/release-please-action@v4 with: token: ${{ secrets.MAINTAINER_PAT }} diff --git a/library.json b/library.json index 24e2381..ef11ba5 100644 --- a/library.json +++ b/library.json @@ -18,62 +18,5 @@ "license": "MIT", "homepage": "https://github.com/XavierBrassoud/Arduino_Epson_PNL_CE02.git", "frameworks": "*", - "platforms": "*", - "examples": [ - { - "name": "blink", - "base": "examples/blink", - "files": [ - "platformio.ini", - "src/Epson_PNL_CE02.h", - "src/Epson_PNL_CE02.cpp", - "blink.ino" - ] - }, - { - "name": "buttons", - "base": "examples/buttons", - "files": [ - "platformio.ini", - "src/Epson_PNL_CE02.h", - "src/Epson_PNL_CE02.cpp", - "buttons.ino" - ] - }, - { - "name": "display", - "base": "examples/display", - "files": [ - "platformio.ini", - "src/Epson_PNL_CE02.h", - "src/Epson_PNL_CE02.cpp", - "display.ino" - ], - "dependencies": { - "prenticedavid/MCUFRIEND_kbv": "^3", - "adafruit/Adafruit GFX Library": "^1", - "adafruit/Adafruit BusIO": "^1", - "Wire": "*", - "SPI": "*" - } - }, - { - "name": "buttons", - "base": "examples/full", - "files": [ - "platformio.ini", - "src/Epson_PNL_CE02.h", - "src/Epson_PNL_CE02.cpp", - "full.ino" - ], - "dependencies": { - "mathertel/OneButton": "^2.5.0", - "prenticedavid/MCUFRIEND_kbv": "^3", - "adafruit/Adafruit GFX Library": "^1", - "adafruit/Adafruit BusIO": "^1", - "Wire": "*", - "SPI": "*" - } - } - ] + "platforms": "*" } \ No newline at end of file