Updated action w linux path
This commit is contained in:
parent
1894bc4959
commit
42205a94c9
3
.github/workflows/pio-build.yaml
vendored
3
.github/workflows/pio-build.yaml
vendored
@ -34,8 +34,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install --upgrade platformio
|
pip install --upgrade platformio
|
||||||
pwd
|
git config --global advice.detachedHead false
|
||||||
ls -al
|
|
||||||
|
|
||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: pio run -e gravity-release -e gravity-perf
|
run: pio run -e gravity-release -e gravity-perf
|
||||||
|
@ -9,24 +9,20 @@ print( "Copy html-files from " + source + " -> " + target )
|
|||||||
|
|
||||||
os.makedirs(os.path.dirname( target ), exist_ok=True)
|
os.makedirs(os.path.dirname( target ), exist_ok=True)
|
||||||
file = "about.min.htm"
|
file = "about.min.htm"
|
||||||
print( "Copy file: " + source + file + "->" + target + file)
|
#print( "Copy file: " + source + file + "->" + target + file)
|
||||||
shutil.copyfile( source + file, target + file )
|
shutil.copyfile( source + file, target + file )
|
||||||
file = "calibration.min.htm"
|
file = "calibration.min.htm"
|
||||||
print( "Copy file: " + source + file + "->" + target + file)
|
#print( "Copy file: " + source + file + "->" + target + file)
|
||||||
shutil.copyfile( source + file, target + file )
|
shutil.copyfile( source + file, target + file )
|
||||||
file = "config.min.htm"
|
file = "config.min.htm"
|
||||||
print( "Copy file: " + source + file + "->" + target + file)
|
#print( "Copy file: " + source + file + "->" + target + file)
|
||||||
shutil.copyfile( source + file, target + file )
|
shutil.copyfile( source + file, target + file )
|
||||||
file = "device.min.htm"
|
file = "device.min.htm"
|
||||||
print( "Copy file: " + source + file + "->" + target + file)
|
#print( "Copy file: " + source + file + "->" + target + file)
|
||||||
shutil.copyfile( source + file, target + file )
|
shutil.copyfile( source + file, target + file )
|
||||||
file = "index.min.htm"
|
file = "index.min.htm"
|
||||||
print( "Copy file: " + source + file + "->" + target + file)
|
#print( "Copy file: " + source + file + "->" + target + file)
|
||||||
shutil.copyfile( source + file, target + file )
|
shutil.copyfile( source + file, target + file )
|
||||||
file = "upload.min.htm"
|
file = "upload.min.htm"
|
||||||
print( "Copy file: " + source + file + "->" + target + file)
|
#print( "Copy file: " + source + file + "->" + target + file)
|
||||||
shutil.copyfile( source + file, target + file )
|
shutil.copyfile( source + file, target + file )
|
||||||
|
|
||||||
#print( "Adding custom build step (copy ./heml/*.min.html to ./data/): ")
|
|
||||||
#print(env.Dump())
|
|
||||||
#env.AddPreAction("buildprog", before_build)
|
|
||||||
|
@ -23,7 +23,7 @@ SOFTWARE.
|
|||||||
*/
|
*/
|
||||||
#include <DallasTemperature.h>
|
#include <DallasTemperature.h>
|
||||||
#include <Wire.h>
|
#include <Wire.h>
|
||||||
#include <onewire.h>
|
#include <OneWire.h>
|
||||||
|
|
||||||
#include <config.hpp>
|
#include <config.hpp>
|
||||||
#include <gyro.hpp>
|
#include <gyro.hpp>
|
||||||
|
Loading…
Reference in New Issue
Block a user