This commit is contained in:
Frank Haverland
2022-11-27 13:01:15 +01:00
parent de5165687b
commit f682fead2c

View File

@@ -170,9 +170,8 @@ jobs:
- name: Store generated files in cache
uses: actions/cache@v3
with:
path: |
./dist
key: ${{ steps.vars.outputs.branch }}-pack-for-OTA-v2
path: dist
key: ${{ github.run_number }}-pack-for-OTA-v2
@@ -225,8 +224,7 @@ jobs:
- name: Store generated files in cache
uses: actions/cache@v3
with:
path: |
./firmware
path: firmware
key: ${{ github.run_number }}-pack-for-fresh-install
@@ -261,16 +259,14 @@ jobs:
- name: Get generated files from cache
uses: actions/cache@v3
with:
path: |
./dist
key: ${{ steps.vars.outputs.branch }}-pack-for-OTA-v2
path: dist
key: ${{ github.run_number }}-pack-for-OTA-v2
# import cached artifacts from pack-for-fresh-install
- name: Get generated files from cache
uses: actions/cache@v3
with:
path: |
./firmware
path: firmware
key: ${{ github.run_number }}-pack-for-fresh-install
@@ -281,7 +277,7 @@ jobs:
mkdir -p dist
# create a update.zip like "update__rolling"
pwd
ls
ls ./dist
cd ./dist
zip -r ../release/update.zip .
cd ../firmware