ci: Run build after checks pass, fix deploy checkout
All checks were successful
Lint & Build / Security Flaw Analysis (push) Successful in 15s
Lint & Build / Secret Scanning (push) Successful in 5s
Lint & Build / C/C++ Static Analysis (push) Successful in 27s
Lint & Build / Shell Script Analysis (push) Successful in 7s
Lint & Build / Build Firmware (push) Successful in 1m53s
Lint & Build / Deploy to ESP Fleet (push) Has been skipped
All checks were successful
Lint & Build / Security Flaw Analysis (push) Successful in 15s
Lint & Build / Secret Scanning (push) Successful in 5s
Lint & Build / C/C++ Static Analysis (push) Successful in 27s
Lint & Build / Shell Script Analysis (push) Successful in 7s
Lint & Build / Build Firmware (push) Successful in 1m53s
Lint & Build / Deploy to ESP Fleet (push) Has been skipped
This commit is contained in:
@@ -20,6 +20,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
name: Build Firmware
|
||||
needs: [cppcheck, flawfinder, gitleaks, shellcheck]
|
||||
runs-on: anvil
|
||||
container:
|
||||
image: docker.io/espressif/idf:v5.3
|
||||
@@ -71,7 +72,11 @@ jobs:
|
||||
# Run directly on host (no container) to access local network
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: git clone --depth=1 --branch=${{ github.ref_name }} https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git workspace
|
||||
run: |
|
||||
mkdir -p workspace
|
||||
curl -sL -H "Authorization: token ${{ github.token }}" \
|
||||
"https://git.mymx.me/api/v1/repos/${{ github.repository }}/archive/${{ github.ref_name }}.tar.gz" \
|
||||
| tar -xz --strip-components=1 -C workspace
|
||||
|
||||
- name: Build firmware
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user