more debug info

This commit is contained in:
Jason2866 2024-02-29 14:54:35 +01:00 committed by GitHub
parent 4fb1d3a65d
commit f2f78c4cee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 4 deletions

View File

@ -30,6 +30,7 @@ jobs:
COMMIT_SHA_LONG=$(git rev-parse --short HEAD || echo "")
COMMIT_SHA_SHORT=${COMMIT_SHA_LONG::7}
echo "COMMIT_SHA=$COMMIT_SHA_SHORT" >> $GITHUB_ENV
echo ${{ env.COMMIT_SHA }}
- name: Install clang compiler
run: |
sudo apt-get install -f clang
@ -121,7 +122,8 @@ jobs:
- name: Add SHA to footer
run: |
SHA=${{ env.COMMIT_SHA }}
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT = \"$SHA-\"/g" ./tasmota/include/tasmota_version.h
echo $SHA
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT \"$SHA-\"/g" ./tasmota/include/tasmota_version.h
- name: Run PlatformIO
run: platformio run -e ${{ matrix.variant }}
- name: Upload safeboot firmware artifacts
@ -163,7 +165,8 @@ jobs:
- name: Add SHA to footer
run: |
SHA=${{ env.COMMIT_SHA }}
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT = \"$SHA-\"/g" ./tasmota/include/tasmota_version.h
echo $SHA
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT \"$SHA-\"/g" ./tasmota/include/tasmota_version.h
- name: Run PlatformIO
run: platformio run -e ${{ matrix.variant }}
- name: Upload firmware artifacts
@ -219,7 +222,8 @@ jobs:
- name: Add SHA to footer
run: |
SHA=${{ env.COMMIT_SHA }}
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT = \"$SHA-\"/g" ./tasmota/include/tasmota_version.h
echo $SHA
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT \"$SHA-\"/g" ./tasmota/include/tasmota_version.h
- name: Run PlatformIO
run: platformio run -e ${{ matrix.variant }}
- name: Upload firmware artifacts
@ -259,7 +263,8 @@ jobs:
- name: Add SHA to footer
run: |
SHA=${{ env.COMMIT_SHA }}
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT = \"$SHA-\"/g" ./tasmota/include/tasmota_version.h
echo $SHA
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT \"$SHA-\"/g" ./tasmota/include/tasmota_version.h
- name: Run PlatformIO
run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }}
- name: Upload language firmware artifacts