fix(example): properly end Serial when STOP2 mode is used #83
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: STM32LowPower Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '*' | |
- '**.md' | |
- '**.txt' | |
pull_request: | |
paths-ignore: | |
- '*' | |
- '**.md' | |
- '**.txt' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
lib_build: | |
runs-on: ubuntu-latest | |
name: Library compilation | |
steps: | |
# First of all, clone the repo using the checkout action. | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Compilation | |
id: Compile | |
uses: stm32duino/actions/compile-examples@main | |
with: | |
board-pattern: ".*NUCLEO.*" | |
libraries: "STM32duino RTC" | |
# Use the output from the `Compile` step | |
- name: Compilation Errors | |
if: failure() | |
run: | | |
cat ${{ steps.Compile.outputs.compile-result }} | |
exit 1 |