diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50bda88..970c970 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,6 +10,10 @@ on: branches: - "*" +defaults: + run: + working-directory: ./code + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8bd7f05..883118c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,10 @@ on: tags: - "v*" +defaults: + run: + working-directory: ./code + jobs: release: runs-on: ubuntu-latest diff --git a/WemosWeatherStation/WemosWeatherStation.ino b/code/WemosWeatherStation/WemosWeatherStation.ino similarity index 100% rename from WemosWeatherStation/WemosWeatherStation.ino rename to code/WemosWeatherStation/WemosWeatherStation.ino diff --git a/WemosWeatherStation/button.h b/code/WemosWeatherStation/button.h similarity index 100% rename from WemosWeatherStation/button.h rename to code/WemosWeatherStation/button.h diff --git a/WemosWeatherStation/const.h b/code/WemosWeatherStation/const.h similarity index 100% rename from WemosWeatherStation/const.h rename to code/WemosWeatherStation/const.h diff --git a/WemosWeatherStation/load.h b/code/WemosWeatherStation/load.h similarity index 100% rename from WemosWeatherStation/load.h rename to code/WemosWeatherStation/load.h diff --git a/WemosWeatherStation/meters.h b/code/WemosWeatherStation/meters.h similarity index 100% rename from WemosWeatherStation/meters.h rename to code/WemosWeatherStation/meters.h diff --git a/WemosWeatherStation/mqtt.h b/code/WemosWeatherStation/mqtt.h similarity index 100% rename from WemosWeatherStation/mqtt.h rename to code/WemosWeatherStation/mqtt.h diff --git a/WemosWeatherStation/ota.h b/code/WemosWeatherStation/ota.h similarity index 100% rename from WemosWeatherStation/ota.h rename to code/WemosWeatherStation/ota.h diff --git a/WemosWeatherStation/sensors.h b/code/WemosWeatherStation/sensors.h similarity index 100% rename from WemosWeatherStation/sensors.h rename to code/WemosWeatherStation/sensors.h diff --git a/WemosWeatherStation/wifi.h b/code/WemosWeatherStation/wifi.h similarity index 100% rename from WemosWeatherStation/wifi.h rename to code/WemosWeatherStation/wifi.h diff --git a/platformio.ini b/code/platformio.ini similarity index 100% rename from platformio.ini rename to code/platformio.ini