mirror of https://github.com/arendst/Tasmota.git
no '"'
This commit is contained in:
parent
db572b1125
commit
6032104cfd
|
@ -25,12 +25,6 @@ jobs:
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- name: Get and store commit SHA
|
|
||||||
run: |
|
|
||||||
COMMIT_SHA_LONG=$(git rev-parse --short HEAD || echo "")
|
|
||||||
COMMIT_SHA_SHORT=${COMMIT_SHA_LONG::7}
|
|
||||||
echo "COMMIT_SHA=$COMMIT_SHA_SHORT" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Install clang compiler
|
- name: Install clang compiler
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -f clang
|
sudo apt-get install -f clang
|
||||||
|
@ -123,7 +117,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
COMMIT_SHA_LONG=$(git rev-parse --short HEAD || echo "")
|
COMMIT_SHA_LONG=$(git rev-parse --short HEAD || echo "")
|
||||||
SHA=${COMMIT_SHA_LONG::7}
|
SHA=${COMMIT_SHA_LONG::7}
|
||||||
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT \"$SHA-\"/g" ./tasmota/include/tasmota_version.h
|
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT $SHA-/g" ./tasmota/include/tasmota_version.h
|
||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}
|
run: platformio run -e ${{ matrix.variant }}
|
||||||
- name: Upload safeboot firmware artifacts
|
- name: Upload safeboot firmware artifacts
|
||||||
|
@ -166,7 +160,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
COMMIT_SHA_LONG=$(git rev-parse --short HEAD || echo "")
|
COMMIT_SHA_LONG=$(git rev-parse --short HEAD || echo "")
|
||||||
SHA=${COMMIT_SHA_LONG::7}
|
SHA=${COMMIT_SHA_LONG::7}
|
||||||
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT \"$SHA-\"/g" ./tasmota/include/tasmota_version.h
|
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT $SHA-/g" ./tasmota/include/tasmota_version.h
|
||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}
|
run: platformio run -e ${{ matrix.variant }}
|
||||||
- name: Upload firmware artifacts
|
- name: Upload firmware artifacts
|
||||||
|
@ -223,7 +217,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
COMMIT_SHA_LONG=$(git rev-parse --short HEAD || echo "")
|
COMMIT_SHA_LONG=$(git rev-parse --short HEAD || echo "")
|
||||||
SHA=${COMMIT_SHA_LONG::7}
|
SHA=${COMMIT_SHA_LONG::7}
|
||||||
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT \"$SHA-\"/g" ./tasmota/include/tasmota_version.h
|
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT $SHA-/g" ./tasmota/include/tasmota_version.h
|
||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}
|
run: platformio run -e ${{ matrix.variant }}
|
||||||
- name: Upload firmware artifacts
|
- name: Upload firmware artifacts
|
||||||
|
@ -264,7 +258,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
COMMIT_SHA_LONG=$(git rev-parse --short HEAD || echo "")
|
COMMIT_SHA_LONG=$(git rev-parse --short HEAD || echo "")
|
||||||
SHA=${COMMIT_SHA_LONG::7}
|
SHA=${COMMIT_SHA_LONG::7}
|
||||||
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT \"$SHA-\"/g" ./tasmota/include/tasmota_version.h
|
sed -i -e "s/TASMOTA_SHA_SHORT/TASMOTA_SHA_SHORT $SHA-/g" ./tasmota/include/tasmota_version.h
|
||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }}
|
run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }}
|
||||||
- name: Upload language firmware artifacts
|
- name: Upload language firmware artifacts
|
||||||
|
|
Loading…
Reference in New Issue