Skip to content

Commit

Permalink
gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rene-d committed Mar 7, 2020
1 parent 3dd5b4a commit 851625c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ jobs:
- name: Make artifacts
run: |
mkdir -p zip
tools/mkarduinosrc.py -1 zip/arduino.zip
tools/mkarduinosrc.py -1 zip/source-$(git rev-parse --short HEAD).zip
cd .pio/build
zip ../../zip/wifinfo-$(git describe).zip $(ls */spiffs.bin */firmware.bin)
for i in */spiffs.bin; do mv $i $(dirname $i)/erfs.bin; done
zip ../../zip/wifinfo-$(git rev-parse --short HEAD).zip $(ls */*.bin)
- name: Archive firmware+spiffs
uses: actions/upload-artifact@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
platformio run -e esp01s_prod -e esp12e_prod
platformio run -e esp01s_prod -e esp12e_prod -t buildfs
tools/mkarduinosrc.py -1 arduino.zip
tools/mkarduinosrc.py arduino.zip
cd .pio/build
for i in */spiffs.bin; do mv $i $(dirname $i)/erfs.bin; done
Expand Down

0 comments on commit 851625c

Please sign in to comment.