.github/workflows/build.yml aktualisiert

Add Unique ID
This commit is contained in:
2025-08-01 17:04:17 +02:00
parent 0166e1a695
commit e6a089fd61

View File

@@ -31,11 +31,17 @@ jobs:
cp .pio/build/esp32thing_CI/firmware.bin firmware.bin
cp .pio/build/esp32thing_CI/spiffs.bin spiffs.bin
- name: Generate tag name
id: tag
run: |
TAG="esp32thing-$(date +'%Y%m%d-%H%M%S')-${GITHUB_SHA::7}"
echo "tag_name=$TAG" >> $GITHUB_OUTPUT
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
name: "esp32thing Firmware ${{ github.ref_name }}"
tag_name: "${{ github.ref_name }}"
name: "esp32thing Firmware ${{ steps.tag.outputs.tag_name }}"
tag_name: "${{ steps.tag.outputs.tag_name }}"
files: |
firmware.bin
spiffs.bin