diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a6e0cc..6ea5981 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,8 @@ on: paths: - '*.yaml' - '.github/workflows/ci.yml' + schedule: + - cron: '0 0 * * *' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number }} @@ -38,9 +40,14 @@ jobs: - dev steps: - name: Checkout source code - uses: actions/checkout@v4.1.7 + uses: actions/checkout@v4 - name: ESPHome ${{ matrix.esphome-version }} - uses: esphome/build-action@v4.0.3 + uses: esphome/build-action@v7 with: yaml-file: ${{ matrix.file }}.yaml version: ${{ matrix.esphome-version }} + - name: ESPHome ${{ matrix.esphome-version }} Factory + uses: esphome/build-action@v7 + with: + yaml-file: ${{ matrix.file }}.factory.yaml + version: ${{ matrix.esphome-version }} diff --git a/.github/workflows/publish-firmware.yml b/.github/workflows/publish-firmware.yml index 84a82fd..c8ddff2 100644 --- a/.github/workflows/publish-firmware.yml +++ b/.github/workflows/publish-firmware.yml @@ -10,7 +10,7 @@ permissions: jobs: build-firmware: name: Build Firmware - uses: esphome/workflows/.github/workflows/build.yml@2024.12.0 + uses: esphome/workflows/.github/workflows/build.yml@2025.7.0 with: #### Modify below here to match your project #### files: | @@ -24,7 +24,7 @@ jobs: athom-smart-plug.yaml athom-zigbee-gateway.yaml athom-presence-sensor-v3.yaml - esphome-version: 2024.10.3 + esphome-version: 2025.7.0 combined-name: Athom-ESP32-Device #### Modify above here to match your project #### @@ -34,7 +34,7 @@ jobs: upload-to-release: name: Upload to Release - uses: esphome/workflows/.github/workflows/upload-to-gh-release.yml@2024.12.0 + uses: esphome/workflows/.github/workflows/upload-to-gh-release.yml@2025.7.0 needs: - build-firmware with: diff --git a/.github/workflows/publish-pages.yml b/.github/workflows/publish-pages.yml index 210ac68..d521a76 100644 --- a/.github/workflows/publish-pages.yml +++ b/.github/workflows/publish-pages.yml @@ -28,25 +28,25 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@v4.2.2 + uses: actions/checkout@v4 - run: mkdir -p output/firmware - name: Build - uses: actions/jekyll-build-pages@v1.0.13 + uses: actions/jekyll-build-pages@v1 with: source: ./static destination: ./output - name: Fetch firmware files - uses: robinraju/release-downloader@v1.11 + uses: robinraju/release-downloader@v1 with: latest: true fileName: '*' out-file-path: output/firmware - name: Upload artifact - uses: actions/upload-pages-artifact@v3.0.1 + uses: actions/upload-pages-artifact@v3 with: path: output retention-days: 1 @@ -65,8 +65,8 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} steps: - name: Setup Pages - uses: actions/configure-pages@v5.0.0 + uses: actions/configure-pages@v5 - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4.0.5 \ No newline at end of file + uses: actions/deploy-pages@v4 \ No newline at end of file