Skip to content

Commit

Permalink
Update Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed May 9, 2024
1 parent 26ec1ad commit 0a29276
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 @@ -10,16 +10,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

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

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

0 comments on commit 0a29276

Please sign in to comment.