Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): Publish only if all tests pass #2

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "esp_wifi_remote: build-tests"
name: "Build"

on:
push:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Publish esp-wifi-remote

on:
push:
branches:
- main
workflow_run:
workflows: ["Build", "Compat checks"]
branches: [main]
types:
- completed

jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Publishes Tag, Release, and Uploads Component
needs: build_idf_examples_with_wifi_remote

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke_compat.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "esp_wifi_remote: build-tests"
name: "Compat checks"

on:
push:
Expand Down
Loading