Skip to content

Fixed Typos

Fixed Typos #15

name: Build and Release
on:
push:
tags:
- "*"
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected] # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Set up Python 🐍
uses: actions/setup-python@v1
- name: Install pio and its dependencies 🔧
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Run PlatformIO build on selected platforms 🏗️
run: platformio run -e config -e release -e debug
- name: Upload binaries to release 🚀
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: .pio/build/*/firmware_*.hex
tag: ${{ github.ref }}
overwrite: true
file_glob: true