mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-11 05:56:57 +03:00
test
This commit is contained in:
19
.github/workflows/build.yaml
vendored
19
.github/workflows/build.yaml
vendored
@@ -240,19 +240,15 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set Variables
|
|
||||||
id: vars
|
|
||||||
run: |
|
|
||||||
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Get generated files from cache
|
- name: Get generated files from cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
./code/.pio/build/esp32cam/firmware.bin
|
code/.pio/build/esp32cam/firmware.bin
|
||||||
./code/.pio/build/esp32cam/partitions.bin
|
code/.pio/build/esp32cam/partitions.bin
|
||||||
./code/.pio/build/esp32cam/bootloader.bin
|
code/.pio/build/esp32cam/bootloader.bin
|
||||||
./sd-card/html/version.txt
|
sd-card/html/version.txt
|
||||||
key: ${{ github.run_number }}
|
key: ${{ github.run_number }}
|
||||||
|
|
||||||
# import the changes from
|
# import the changes from
|
||||||
@@ -269,6 +265,10 @@ jobs:
|
|||||||
path: firmware
|
path: firmware
|
||||||
key: ${{ github.run_number }}-pack-for-fresh-install
|
key: ${{ github.run_number }}-pack-for-fresh-install
|
||||||
|
|
||||||
|
- name: Set Variables
|
||||||
|
id: vars
|
||||||
|
run: |
|
||||||
|
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
|
||||||
- name: Prepare artifacts for release
|
- name: Prepare artifacts for release
|
||||||
@@ -276,9 +276,6 @@ jobs:
|
|||||||
mkdir -p release
|
mkdir -p release
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
# create a update.zip like "update__rolling"
|
# create a update.zip like "update__rolling"
|
||||||
pwd
|
|
||||||
ls ./dist
|
|
||||||
cd ./dist
|
|
||||||
zip -r ../release/update.zip .
|
zip -r ../release/update.zip .
|
||||||
cd ../firmware
|
cd ../firmware
|
||||||
zip -r ../release/initial_esp32_setup.zip .
|
zip -r ../release/initial_esp32_setup.zip .
|
||||||
|
|||||||
Reference in New Issue
Block a user