From 447c172b30d4d149fb1a196e00518d903c36a22f Mon Sep 17 00:00:00 2001 From: gronod <1+gronod@noreply.localhost> Date: Sun, 14 Jun 2026 09:46:38 +0100 Subject: [PATCH] Update .github/workflows/build.yml --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e9471d..6be48d3 100644 --- a/.github/workflows/build.yml +++ b/.github/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 (Gitea Compatibility) 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,11 @@ 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