Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
uriyacovy authored Aug 8, 2024
1 parent 8d02404 commit 0e85d67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

- name: Compile for main
if: github.ref == 'refs/heads/main'
uses: esphome/build-action@v1
uses: esphome/build-action@v4.0.1
with:
yaml_file: .github/example-project-main.yaml
yaml-file: .github/example-project-main.yaml

- name: Compile for dev
if: github.ref != 'refs/heads/main'
uses: esphome/build-action@v1
with:
yaml_file: .github/example-project-dev.yaml
yaml-file: .github/example-project-dev.yaml

0 comments on commit 0e85d67

Please sign in to comment.