Add Build Number

This commit is contained in:
iranl
2024-05-24 15:34:50 +02:00
parent aa721579f5
commit 210bb98633
6 changed files with 33 additions and 4 deletions

View File

@@ -33,6 +33,11 @@ jobs:
run: pip install --upgrade platformio
- name: Install ESPTool
run: pip install --upgrade esptool
- name: Add version info
env:
Version: ${{ github.run_id }}.${{ github.run_number }}.${{ github.run_attempt }}
run: |
sed -i "s/unknownbuildnr/$Version/g" src/Config.h
- name: Build PlatformIO Project esp32dev
run: |
pio run --environment esp32dev