From 90a5afd77b612f2eb428c7adf739352c513ecb2c Mon Sep 17 00:00:00 2001 From: Peter Siegmund Date: Fri, 31 May 2024 10:50:14 +0200 Subject: [PATCH] update actions Signed-off-by: Peter Siegmund --- .github/workflows/esp-idf_build.yml | 1 + .github/workflows/esp-idf_release.yml | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/esp-idf_build.yml b/.github/workflows/esp-idf_build.yml index 563cc54..b9a5946 100644 --- a/.github/workflows/esp-idf_build.yml +++ b/.github/workflows/esp-idf_build.yml @@ -22,6 +22,7 @@ jobs: uses: actions/checkout@v4 with: submodules: "recursive" + - name: ESP-IDF build uses: espressif/esp-idf-ci-action@v1 with: diff --git a/.github/workflows/esp-idf_release.yml b/.github/workflows/esp-idf_release.yml index 02c3733..0141347 100644 --- a/.github/workflows/esp-idf_release.yml +++ b/.github/workflows/esp-idf_release.yml @@ -21,15 +21,17 @@ jobs: uses: actions/checkout@v4 with: submodules: "recursive" + - name: ESP-IDF build uses: espressif/esp-idf-ci-action@v1 with: esp_idf_version: ${{ matrix.idf_ver }} target: ${{ matrix.idf_target }} path: ePaper-ESP-IDF + - name: Upload Firmware - id: upload - uses: JantHsueh/upload-file-action@master + uses: fjogeleit/http-request-action@v1 with: - url: ${{ secrets.UPLOAD_URL }} - fileForms: '{"file":"ePaper-ESP-IDF/build/firmware.bin"}' + url: "${{ secrets.UPLOAD_URL }}" + method: "POST" + files: '{ "file": "${{ github.workspace }}/ePaper-ESP-IDF/build/firmware.bin" }'