|
|
@@ -19,7 +19,7 @@ jobs:
|
|
|
with:
|
|
|
concurrent_skipping: same_content_newer
|
|
|
|
|
|
- - uses: actions/checkout@v4
|
|
|
+ - uses: actions/checkout@v6
|
|
|
with:
|
|
|
submodules: recursive
|
|
|
|
|
|
@@ -29,28 +29,28 @@ jobs:
|
|
|
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
|
|
|
|
|
- name: Update PIP cache on every commit
|
|
|
- uses: actions/cache@v4
|
|
|
+ uses: actions/cache@v5
|
|
|
with:
|
|
|
path: ~/.cache/pip
|
|
|
key: pip-${{ github.run_id }}
|
|
|
restore-keys: pip # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache
|
|
|
|
|
|
- name: Update PlatformIO cache on every commit
|
|
|
- uses: actions/cache@v4
|
|
|
+ uses: actions/cache@v5
|
|
|
with:
|
|
|
path: ~/.platformio
|
|
|
key: platformio-${{ github.run_id }}
|
|
|
restore-keys: platformio # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache
|
|
|
|
|
|
- name: Update Build cache on every commit
|
|
|
- uses: actions/cache@v4
|
|
|
+ uses: actions/cache@v5
|
|
|
with:
|
|
|
path: ./code/.pio/
|
|
|
key: build-${{ github.run_id }}
|
|
|
restore-keys: build # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache
|
|
|
|
|
|
- name: Update generated-files cache on every commit
|
|
|
- uses: actions/cache@v4
|
|
|
+ uses: actions/cache@v5
|
|
|
with:
|
|
|
path: |
|
|
|
./code/.pio/build/esp32cam/firmware.bin
|
|
|
@@ -62,7 +62,7 @@ jobs:
|
|
|
restore-keys: generated-files # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache
|
|
|
|
|
|
- name: Set up Python
|
|
|
- uses: actions/setup-python@v5
|
|
|
+ uses: actions/setup-python@v6
|
|
|
with:
|
|
|
python-version: '3.10'
|
|
|
|
|
|
@@ -122,10 +122,10 @@ jobs:
|
|
|
needs: build
|
|
|
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v4
|
|
|
+ - uses: actions/checkout@v6
|
|
|
|
|
|
- name: Update generated-files cache on every commit
|
|
|
- uses: actions/cache@v4
|
|
|
+ uses: actions/cache@v5
|
|
|
with:
|
|
|
path: |
|
|
|
./code/.pio/build/esp32cam/firmware.bin
|
|
|
@@ -137,7 +137,7 @@ jobs:
|
|
|
restore-keys: generated-files # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache
|
|
|
|
|
|
- name: Update update cache on every commit
|
|
|
- uses: actions/cache@v4
|
|
|
+ uses: actions/cache@v5
|
|
|
with:
|
|
|
path: update
|
|
|
key: update-${{ github.run_id }}
|
|
|
@@ -169,7 +169,7 @@ jobs:
|
|
|
cp ./sd-card/config/*.tflite ./update/config/ 2>/dev/null || true
|
|
|
|
|
|
- name: Upload update as update.zip artifact (Firmware + Web UI + CNN)
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
+ uses: actions/upload-artifact@v6
|
|
|
with:
|
|
|
name: "AI-on-the-edge-device__update__${{ steps.vars.outputs.branch }}_(${{ steps.vars.outputs.sha_short }})"
|
|
|
path: ./update/*
|
|
|
@@ -189,10 +189,10 @@ jobs:
|
|
|
needs: build
|
|
|
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v4
|
|
|
+ - uses: actions/checkout@v6
|
|
|
|
|
|
- name: Update generated-files cache on every commit
|
|
|
- uses: actions/cache@v4
|
|
|
+ uses: actions/cache@v5
|
|
|
with:
|
|
|
path: |
|
|
|
./code/.pio/build/esp32cam/firmware.bin
|
|
|
@@ -204,7 +204,7 @@ jobs:
|
|
|
restore-keys: generated-files # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache
|
|
|
|
|
|
- name: Update remote_setup cache on every commit
|
|
|
- uses: actions/cache@v4
|
|
|
+ uses: actions/cache@v5
|
|
|
with:
|
|
|
path: remote_setup
|
|
|
key: remote_setup-${{ github.run_id }}
|
|
|
@@ -234,7 +234,7 @@ jobs:
|
|
|
cp ./sd-card/config/* ./remote_setup/config/ 2>/dev/null || true
|
|
|
|
|
|
- name: Upload remote_setup as remote_setup.zip artifact (Firmware + Web UI + Config)
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
+ uses: actions/upload-artifact@v6
|
|
|
with:
|
|
|
name: "AI-on-the-edge-device__remote-setup__${{ steps.vars.outputs.branch }}_(${{ steps.vars.outputs.sha_short }})"
|
|
|
path: ./remote_setup/*
|
|
|
@@ -249,10 +249,10 @@ jobs:
|
|
|
needs: build
|
|
|
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v4
|
|
|
+ - uses: actions/checkout@v6
|
|
|
|
|
|
- name: Update generated-files cache on every commit
|
|
|
- uses: actions/cache@v4
|
|
|
+ uses: actions/cache@v5
|
|
|
with:
|
|
|
path: |
|
|
|
./code/.pio/build/esp32cam/firmware.bin
|
|
|
@@ -264,7 +264,7 @@ jobs:
|
|
|
restore-keys: generated-files # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache
|
|
|
|
|
|
- name: Update manual_setup cache on every commit
|
|
|
- uses: actions/cache@v4
|
|
|
+ uses: actions/cache@v5
|
|
|
with:
|
|
|
path: manual_setup
|
|
|
key: manual_setup-${{ github.run_id }}
|
|
|
@@ -296,7 +296,7 @@ jobs:
|
|
|
cd ./manual_setup
|
|
|
|
|
|
- name: Upload manual_setup.zip artifact (Firmware + Bootloader + Partitions + Web UI)
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
+ uses: actions/upload-artifact@v6
|
|
|
with:
|
|
|
name: "AI-on-the-edge-device__manual-setup__${{ steps.vars.outputs.branch }}_(${{ steps.vars.outputs.sha_short }})"
|
|
|
path: ./manual_setup
|
|
|
@@ -317,24 +317,24 @@ jobs:
|
|
|
id-token: write
|
|
|
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v4
|
|
|
+ - uses: actions/checkout@v6
|
|
|
|
|
|
- name: Update update cache on every commit
|
|
|
- uses: actions/cache@v4
|
|
|
+ uses: actions/cache@v5
|
|
|
with:
|
|
|
path: update
|
|
|
key: update-${{ github.run_id }}
|
|
|
restore-keys: update # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache
|
|
|
|
|
|
- name: Update remote_setup cache on every commit
|
|
|
- uses: actions/cache@v4
|
|
|
+ uses: actions/cache@v5
|
|
|
with:
|
|
|
path: remote_setup
|
|
|
key: remote_setup-${{ github.run_id }}
|
|
|
restore-keys: remote_setup # This matches above key as it is only used as a prefix. it the restores the nearest cache, see https://github.com/restore-keys:/blob/main/tips-and-workarounds.md#update-a-cache
|
|
|
|
|
|
- name: Update manual_setup cache on every commit
|
|
|
- uses: actions/cache@v4
|
|
|
+ uses: actions/cache@v5
|
|
|
with:
|
|
|
path: manual_setup
|
|
|
key: manual_setup-${{ github.run_id }}
|
|
|
@@ -425,7 +425,7 @@ jobs:
|
|
|
|
|
|
steps:
|
|
|
- name: Checkout
|
|
|
- uses: actions/checkout@v4
|
|
|
+ uses: actions/checkout@v6
|
|
|
|
|
|
- name: Get version of last release
|
|
|
id: last_release
|