Updated action w linux path

This commit is contained in:
Magnus Persson 2022-01-08 09:38:25 +01:00
parent 1894bc4959
commit 42205a94c9
3 changed files with 8 additions and 13 deletions

View File

@ -34,8 +34,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
pwd
ls -al
git config --global advice.detachedHead false
- name: Run PlatformIO
run: pio run -e gravity-release -e gravity-perf

View File

@ -9,24 +9,20 @@ print( "Copy html-files from " + source + " -> " + target )
os.makedirs(os.path.dirname( target ), exist_ok=True)
file = "about.min.htm"
print( "Copy file: " + source + file + "->" + target + file)
#print( "Copy file: " + source + file + "->" + target + file)
shutil.copyfile( source + file, target + file )
file = "calibration.min.htm"
print( "Copy file: " + source + file + "->" + target + file)
#print( "Copy file: " + source + file + "->" + target + file)
shutil.copyfile( source + file, target + file )
file = "config.min.htm"
print( "Copy file: " + source + file + "->" + target + file)
#print( "Copy file: " + source + file + "->" + target + file)
shutil.copyfile( source + file, target + file )
file = "device.min.htm"
print( "Copy file: " + source + file + "->" + target + file)
#print( "Copy file: " + source + file + "->" + target + file)
shutil.copyfile( source + file, target + file )
file = "index.min.htm"
print( "Copy file: " + source + file + "->" + target + file)
#print( "Copy file: " + source + file + "->" + target + file)
shutil.copyfile( source + file, target + file )
file = "upload.min.htm"
print( "Copy file: " + source + file + "->" + target + file)
#print( "Copy file: " + 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)

View File

@ -23,7 +23,7 @@ SOFTWARE.
*/
#include <DallasTemperature.h>
#include <Wire.h>
#include <onewire.h>
#include <OneWire.h>
#include <config.hpp>
#include <gyro.hpp>