Skip to content

Commit

Permalink
Changed to single workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nated0g committed Apr 29, 2022
1 parent bb3cc6a commit 86b8aaa
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 36 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
on: push

env:
project_path: 'examples/simple'

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: esp-idf build
uses: espressif/esp-idf-ci-action@main
with:
esp_idf_version: v4.4
target: esp32
path: 'examples/simple'
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: esp-idf build
uses: espressif/esp-idf-ci-action@main
with:
esp_idf_version: v4.4
target: esp32
path: ${{env.project_path}}
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ${{env.project_path}}/build/*.bin
24 changes: 0 additions & 24 deletions .github/workflows/trigger-release.yml

This file was deleted.

0 comments on commit 86b8aaa

Please sign in to comment.