diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..02a2010 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,34 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + release: + types: [ published ] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + submodules: recursive + + - name: ESP-IDF Build + uses: espressif/esp-idf-ci-action@v4.3 + + - name: Upload Application Image + uses: actions/upload-artifact@v2.2.4 + with: + name: Application + path: build/ble2mqtt.bin + + - name: Upload Filesystem Image + uses: actions/upload-artifact@v2.2.4 + with: + name: File System + path: build/fs_0.bin