Skip to content

Add hold_flick macro #11

Add hold_flick macro

Add hold_flick macro #11

Workflow file for this run

name: PlatformIO CI
on:
push:
paths-ignore:
- ".vscode/**"
- "**.md"
- "**.png"
- .gitattributes
- .gitignore
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v2
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v2
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Run PlatformIO
run: pio run -e m5stack-paper
- name: upload artifact
uses: actions/upload-artifact@v2
with:
name: ${{format('firmware-{0}.elf', github.sha)}}
path: .pio/build/m5stack-paper/firmware.elf
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
files: |
.pio/build/m5stack-paper/firmware.elf