From c188969182350ee4a730d68ebac532100a32ae33 Mon Sep 17 00:00:00 2001 From: gronod <1+gronod@noreply.localhost> Date: Sun, 14 Jun 2026 09:45:17 +0100 Subject: [PATCH] Update .gitea/workflows/build.yml --- .gitea/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 4c65e5e..3000f9a 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -11,6 +11,9 @@ jobs: build: runs-on: ubuntu-latest container: espressif/idf:v5.2.1 + permissions: + contents: write + steps: - name: Install Modern Node.js run: apt-get update && apt-get install -y ca-certificates curl gnupg && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs @@ -60,4 +63,12 @@ jobs: name: esp32-aldl-firmware-${{ github.sha }} path: esp32-aldl-firmware.tar.gz if-no-files-found: error + + - name: Create Release and Upload Asset + if: startsWith(github.ref, 'refs/tags/') + uses: softprops/action-gh-release@v2 + with: + files: esp32-aldl-firmware.tar.gz + generate_release_notes: true + \ No newline at end of file