finalize github actions

Thomas Ballmann 3 years ago
parent 9185ea0487
commit c96382c8f0

@ -31,7 +31,4 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run-script build
# - run: npm ci
# - run: npm run build --if-present
# - run: npm test

@ -2,7 +2,7 @@
name: Build Firmware
# Controls when the action will run.
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
@ -24,22 +24,17 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# - name: Build on PlatformIO
# run: bash ci/build-platformio.sh
- name: Set up Python
uses: actions/setup-python@v1
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Install library dependencies
run: pio lib -g install 1
- name: Run PlatformIO
run: platformio run
# run: pio run -e esp32

@ -6,8 +6,10 @@
[![Generic badge](https://img.shields.io/badge/APP-1.0-orange.svg?logo=vuetify)]()
[![Generic badge](https://img.shields.io/badge/3D_Housing-1.0-orange.svg?logo=makerbot)](https://www.thingiverse.com/thing:4724292)
![ForTheBadge built-with-love](http://ForTheBadge.com/images/badges/built-with-love.svg)
[![Build Firmware](https://github.com/paperdash/device-epd/actions/workflows/firmware.yml/badge.svg)](https://github.com/paperdash/device-epd/actions/workflows/firmware.yml)
[![Build APP](https://github.com/paperdash/device-epd/actions/workflows/app.yml/badge.svg)](https://github.com/paperdash/device-epd/actions/workflows/app.yml)
![ForTheBadge built-with-love](http://ForTheBadge.com/images/badges/built-with-love.svg)
## Open Source E-Paper Display Platform
@ -98,4 +100,4 @@ $ platformio run --target uploadfs
# alternative, create spiffs.bin
$ platformio run --target buildfs
```
```

@ -1,12 +0,0 @@
#!/bin/bash
# Exit immediately if a command exits with a non-zero status.
set -e
# Make sure we are inside the github workspace
cd $GITHUB_WORKSPACE
# Install PlatformIO CLI
export PATH=$PATH:~/.platformio/penv/bin
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py -o get-platformio.py
python3 get-platformio.py

@ -1,15 +0,0 @@
#!/bin/bash
# Exit immediately if a command exits with a non-zero status.
set -e
# Make sure we are inside the github workspace
cd $GITHUB_WORKSPACE
# Install PlatformIO CLI
export PATH=$PATH:~/.platformio/penv/bin
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py -o get-platformio.py
python3 get-platformio.py
# Compile project
pio run
Loading…
Cancel
Save