From e963b627f7bd3971ec09a1efefa6f52eeda3e58f Mon Sep 17 00:00:00 2001 From: Pavel Slama Date: Mon, 21 Dec 2020 21:37:28 +0100 Subject: [PATCH] restructure for CI --- .github/workflows/build.yml | 4 ++++ .github/workflows/release.yml | 4 ++++ .../WemosWeatherStation}/WemosWeatherStation.ino | 0 {WemosWeatherStation => code/WemosWeatherStation}/button.h | 0 {WemosWeatherStation => code/WemosWeatherStation}/const.h | 0 {WemosWeatherStation => code/WemosWeatherStation}/load.h | 0 {WemosWeatherStation => code/WemosWeatherStation}/meters.h | 0 {WemosWeatherStation => code/WemosWeatherStation}/mqtt.h | 0 {WemosWeatherStation => code/WemosWeatherStation}/ota.h | 0 {WemosWeatherStation => code/WemosWeatherStation}/sensors.h | 0 {WemosWeatherStation => code/WemosWeatherStation}/wifi.h | 0 platformio.ini => code/platformio.ini | 0 12 files changed, 8 insertions(+) rename {WemosWeatherStation => code/WemosWeatherStation}/WemosWeatherStation.ino (100%) rename {WemosWeatherStation => code/WemosWeatherStation}/button.h (100%) rename {WemosWeatherStation => code/WemosWeatherStation}/const.h (100%) rename {WemosWeatherStation => code/WemosWeatherStation}/load.h (100%) rename {WemosWeatherStation => code/WemosWeatherStation}/meters.h (100%) rename {WemosWeatherStation => code/WemosWeatherStation}/mqtt.h (100%) rename {WemosWeatherStation => code/WemosWeatherStation}/ota.h (100%) rename {WemosWeatherStation => code/WemosWeatherStation}/sensors.h (100%) rename {WemosWeatherStation => code/WemosWeatherStation}/wifi.h (100%) rename platformio.ini => code/platformio.ini (100%) 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