From cc6c196e372ebd45120958ab2c5a0e5cd0506479 Mon Sep 17 00:00:00 2001 From: SQFMI Date: Sun, 23 Apr 2023 23:28:57 -0400 Subject: [PATCH] Create main.actions.yml --- .github/workflows/main.actions.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.actions.yml diff --git a/.github/workflows/main.actions.yml b/.github/workflows/main.actions.yml new file mode 100644 index 0000000..b3f1b79 --- /dev/null +++ b/.github/workflows/main.actions.yml @@ -0,0 +1,21 @@ +name: Release +on: + push: + tags: + - "v[0-9]+.[0-9]+.[0-9]+" +jobs: + release: + name: Build and Release + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: ArminJo/arduino-test-compile@v3 + with: + arduino-board-fqbn: esp32:esp32:watchy:Revision=v20,PartitionScheme=min_spiffs,UploadSpeed=921600,DebugLevel=none,EraseFlash=none + platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json + required-libraries: Adafruit GFX Library,Arduino_JSON,DS3232RTC,NTPClient,Rtc_Pcf8563,GxEPD2,WiFiManager + set-build-path: true + - uses: softprops/action-gh-release@v1 + with: + name: "Watchy Arduino Library ${{ github.ref_name }}" + files: ${{ github.workspace }}/examples/WatchFaces/**/build/*.bin