Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
haverland committed Nov 28, 2022
1 parent 6b804d4 commit a096cf7
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,19 +240,15 @@ jobs:

steps:
- 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
uses: actions/cache@v3
with:
path: |
./code/.pio/build/esp32cam/firmware.bin
./code/.pio/build/esp32cam/partitions.bin
./code/.pio/build/esp32cam/bootloader.bin
./sd-card/html/version.txt
code/.pio/build/esp32cam/firmware.bin
code/.pio/build/esp32cam/partitions.bin
code/.pio/build/esp32cam/bootloader.bin
sd-card/html/version.txt
key: ${{ github.run_number }}

# import the changes from
Expand All @@ -269,16 +265,17 @@ jobs:
path: firmware
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
run: |
mkdir -p release
mkdir -p dist
# create a update.zip like "update__rolling"
pwd
ls ./dist
cd ./dist
zip -r ../release/update.zip .
cd ../firmware
zip -r ../release/initial_esp32_setup.zip .
Expand Down

0 comments on commit a096cf7

Please sign in to comment.