Remove pre-build test & build for now

PR#5586 is quite active and breaking this. Waiting until it is more stable.
This commit is contained in:
Edward Firmo
2024-03-19 09:51:27 +01:00
parent 4e7bbef1a0
commit 5f850ae6a3
2 changed files with 40 additions and 39 deletions

View File

@@ -191,48 +191,48 @@ jobs:
with: with:
yaml_file: "./.test/esphome_advanced_climate_heat_customizations.yaml" yaml_file: "./.test/esphome_advanced_climate_heat_customizations.yaml"
build_prebuilt_firmware: # build_prebuilt_firmware:
name: Prebuilt Firmware # name: Prebuilt Firmware
runs-on: ubuntu-latest # runs-on: ubuntu-latest
needs: build_core # Ensure this job runs after the core build job # needs: build_core # Ensure this job runs after the core build job
if: github.ref == 'refs/heads/dev' || github.base_ref == 'dev' # if: github.ref == 'refs/heads/dev' || github.base_ref == 'dev'
steps: # steps:
- uses: actions/checkout@main # - uses: actions/checkout@main
with: # with:
fetch-depth: '0' # fetch-depth: '0'
- name: Build ESPHome Prebuilt Firmware # - name: Build ESPHome Prebuilt Firmware
uses: barndawgie/build-action@v1.9.0 # uses: barndawgie/build-action@v1.9.0
with: # with:
yaml_file: prebuilt/nspanel_esphome_prebuilt.yaml # yaml_file: prebuilt/nspanel_esphome_prebuilt.yaml
- name: Move and Rename Firmware File # - name: Move and Rename Firmware File
run: | # run: |
mkdir -p prebuilt # mkdir -p prebuilt
cp prebuilt/.esphome/build/nspanel/.pioenvs/nspanel/firmware.bin prebuilt/nspanel_esphome_prebuilt.bin || true # cp prebuilt/.esphome/build/nspanel/.pioenvs/nspanel/firmware.bin prebuilt/nspanel_esphome_prebuilt.bin || true
cp prebuilt/.esphome/build/nspanel/.pioenvs/nspanel/firmware-factory.bin prebuilt/nspanel_esphome_prebuilt-factory.bin || true # cp prebuilt/.esphome/build/nspanel/.pioenvs/nspanel/firmware-factory.bin prebuilt/nspanel_esphome_prebuilt-factory.bin || true
- name: Set Commit Message # - name: Set Commit Message
id: set_commit_message # id: set_commit_message
run: | # run: |
if [[ "${{ github.event_name }}" == "pull_request" ]]; then # if [[ "${{ github.event_name }}" == "pull_request" ]]; then
echo "COMMIT_MESSAGE=Pre-built firmware for NSPanel - ${{ github.event.pull_request.title }}" >> $GITHUB_ENV # echo "COMMIT_MESSAGE=Pre-built firmware for NSPanel - ${{ github.event.pull_request.title }}" >> $GITHUB_ENV
elif [[ "${{ github.event_name }}" == "push" ]]; then # elif [[ "${{ github.event_name }}" == "push" ]]; then
commit_message=$(git log -1 --pretty=format:'%s') # commit_message=$(git log -1 --pretty=format:'%s')
echo "COMMIT_MESSAGE=Pre-built firmware for NSPanel - $commit_message" >> $GITHUB_ENV # echo "COMMIT_MESSAGE=Pre-built firmware for NSPanel - $commit_message" >> $GITHUB_ENV
else # else
echo "COMMIT_MESSAGE=Pre-built firmware for NSPanel" >> $GITHUB_ENV # echo "COMMIT_MESSAGE=Pre-built firmware for NSPanel" >> $GITHUB_ENV
fi # fi
- name: Commit and Push Firmware Files # - name: Commit and Push Firmware Files
run: | # run: |
git config --global user.name 'GitHub Actions' # git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com' # git config --global user.email 'actions@github.com'
git add prebuilt/*.bin # git add prebuilt/*.bin
git commit -m "${{ env.COMMIT_MESSAGE }}" # git commit -m "${{ env.COMMIT_MESSAGE }}"
git push # git push
env: # env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build_climate_cool_bluetooth_proxy: build_climate_cool_bluetooth_proxy:
name: Climate cool & BLE proxy name: Climate cool & BLE proxy

View File

@@ -252,7 +252,8 @@ This fix ensures temperature readings are accurately represented according to th
### Resolution for Panel Naming When `device_name` Is Not Provided (#1907) ### Resolution for Panel Naming When `device_name` Is Not Provided (#1907)
- **Criticality:** Medium - **Criticality:** Medium
- **Affected Components:** ESPHome - **Affected Components:** ESPHome
- **Description:** Corrected a bug that caused the new "Device Name" sensor to report "nspanel" and therefore fail on defining services names when a `device_name` substitution was not specified by the user. - **Description:** Corrected a bug that caused the new "Device Name" sensor to report "nspanel"
and therefore fail on defining services names when a `device_name` substitution was not specified by the user.
### External Temperature Sensor Selection Now Correctly Overrides Embedded Sensor Value (#1911) ### External Temperature Sensor Selection Now Correctly Overrides Embedded Sensor Value (#1911)
- **Criticality:** Medium - **Criticality:** Medium