Actions fix

Fix for `workflows must be defined at the top level of the .github/workflows/ directory` error.
This commit is contained in:
Juliusz Sosinowicz
2023-02-20 18:23:35 +01:00
parent 8b7ea9e820
commit 261054896c
6 changed files with 10 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ on:
jobs: jobs:
espressif_latest: espressif_latest:
name: Test Espressif on latest Docker container name: latest Docker container
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: espressif/idf:latest image: espressif/idf:latest
@@ -13,7 +13,7 @@ jobs:
- name: Initialize Espressif IDE and build examples - name: Initialize Espressif IDE and build examples
run: . /opt/esp/idf/export.sh; IDE/Espressif/ESP-IDF/compileAllExamples.sh run: . /opt/esp/idf/export.sh; IDE/Espressif/ESP-IDF/compileAllExamples.sh
espressif_v4_4: espressif_v4_4:
name: Test Espressif on v4.4 Docker container name: v4.4 Docker container
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: espressif/idf:release-v4.4 image: espressif/idf:release-v4.4
@@ -22,7 +22,7 @@ jobs:
- name: Initialize Espressif IDE and build examples - name: Initialize Espressif IDE and build examples
run: . /opt/esp/idf/export.sh; IDE/Espressif/ESP-IDF/compileAllExamples.sh run: . /opt/esp/idf/export.sh; IDE/Espressif/ESP-IDF/compileAllExamples.sh
espressif_v5_0: espressif_v5_0:
name: Test Espressif on v5.0 Docker container name: v5.0 Docker container
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: espressif/idf:release-v5.0 image: espressif/idf:release-v5.0

View File

@@ -24,7 +24,7 @@ jobs:
path: src/.libs/libwolfssl.so path: src/.libs/libwolfssl.so
retention-days: 1 retention-days: 1
compile_container: compile_container:
name: OpenWrt test name: Compile container
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build_library needs: build_library
strategy: strategy:
@@ -37,8 +37,7 @@ jobs:
with: with:
name: libwolfssl.so name: libwolfssl.so
path: Docker/OpenWrt/. path: Docker/OpenWrt/.
- - name: Build but dont push
name: Build but dont push
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
with: with:
context: Docker/OpenWrt context: Docker/OpenWrt

View File

@@ -10,18 +10,18 @@ on:
branches: [ '*' ] branches: [ '*' ]
jobs: jobs:
docker-Espressif: espressif:
uses: ./.github/workflows/docker-Espressif.yml uses: ./.github/workflows/docker-Espressif.yml
multi-compiler: multi-compiler:
uses: ./.github/workflows/multi-compiler.yml uses: ./.github/workflows/multi-compiler.yml
docker-OpenWrt: openwrt:
uses: ./.github/workflows/docker-OpenWrt.yml uses: ./.github/workflows/docker-OpenWrt.yml
os-check: os-check:
uses: ./.github/workflows/os-check.yml uses: ./.github/workflows/os-check.yml
stunnel: stunnel:
uses: ./.github/workflows/opensource/stunnel-check.yml uses: ./.github/workflows/stunnel.yml
openvpn: openvpn:
uses: ./.github/workflows/opensource/openvpn-check.yml uses: ./.github/workflows/openvpn.yml
# TODO: Currently this test fails. Enable it once it becomes passing. # TODO: Currently this test fails. Enable it once it becomes passing.
# haproxy: # haproxy:
# uses: ./.github/workflows/opensource/haproxy-check.yml # uses: ./.github/workflows/haproxy.yml