Update build for esp32lite #322
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: PlatformIO CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- '2.0.0-fwk' | |
- dev | |
jobs: | |
pio-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Checkout UI | |
run: | | |
echo "Checkout UI" | |
git clone https://github.com/mp-se/gravitymon-ui gravitymon-ui | |
cp gravitymon-ui/dist/assets/style.css.gz html/app.css.gz | |
cp gravitymon-ui/dist/assets/index.js.gz html/app.js.gz | |
#cp gravitymon-ui/dist/index.html html/ | |
- name: Setup PlatformIO | |
uses: n-vr/setup-platformio-action@v1.0.1 | |
- name: PlatformIO Run | |
uses: karniv00l/platformio-run-action@v1 | |
with: | |
environments: "gravity-release,gravity32-release,gravity32c3-release,gravity32s2-release,gravity32s3-release,gravity32lite-release" | |
jobs: 6 | |
silent: false | |
verbose: true | |
disable-auto-clean: false | |
- uses: EndBug/add-and-commit@v9 # You can change this to use a specific version. https://github.com/marketplace/actions/add-commit | |
with: | |
add: 'bin html' | |
author_name: GitHub Action | |
author_email: mp-se@noreply.github.com | |
default_author: github_actor | |
message: 'GitHub Action Build' | |
pathspec_error_handling: ignore |