Skip to content

Commit

Permalink
0.8.86
Browse files Browse the repository at this point in the history
* update workflow
  • Loading branch information
lumapu committed Feb 24, 2024
1 parent 6d887e1 commit e2ab5da
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/compile_development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,35 @@ jobs:
env:
VERSION: ${{ steps.version_name.outputs.name }}


- name: Create ESP Web Tools Manifest
working-directory: src
run: python ../scripts/buildManifest.py

- name: Copy install html
run: mv ../scripts/gh-action-dev-build-flash.html firmware/install.html

- name: Copy Changes.md
run: mv CHANGES.md firmware/CHANGES.md


- name: Rename firmware directory
run: mv firmware ${{ steps.version_name.outputs.name }}

- name: delete environment Artifacts
uses: geekyeggo/delete-artifact@v4
with:
name: dev-*

- name: Create Artifact
uses: actions/upload-artifact@v4
with:
name: dev-${{ steps.version_name.outputs.name }}
path: |
${{ steps.version_name.outputs.name }}/*
manual/User_Manual.md
manual/Getting_Started.md
- name: Deploy
uses: nogsantos/scp-deploy@master
with:
Expand Down
20 changes: 19 additions & 1 deletion scripts/buildManifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,27 @@ def buildManifest(path, infile, outfile):
esp32["parts"].append({"path": "ESP32/bootloader.bin", "offset": 4096})
esp32["parts"].append({"path": "ESP32/partitions.bin", "offset": 32768})
esp32["parts"].append({"path": "ESP32/ota.bin", "offset": 57344})
esp32["parts"].append({"path": "ESP32/" + version[1] + "_" + sha + "_esp32.bin", "offset": 65536})
esp32["parts"].append({"path": "ESP32/" + version[1] + "_" + sha + "_esp32-wroom32.bin", "offset": 65536})
data["builds"].append(esp32)

esp32s2 = {}
esp32s2["chipFamily"] = "ESP32-S2"
esp32s2["parts"] = []
esp32s2["parts"].append({"path": "ESP32-S2/bootloader.bin", "offset": 4096})
esp32s2["parts"].append({"path": "ESP32-S2/partitions.bin", "offset": 32768})
esp32s2["parts"].append({"path": "ESP32-S2/ota.bin", "offset": 57344})
esp32s2["parts"].append({"path": "ESP32-S2/" + version[1] + "_" + sha + "_esp32-s2-mini.bin", "offset": 65536})
data["builds"].append(esp32s2)

esp32s3 = {}
esp32s3["chipFamily"] = "ESP32-S3"
esp32s3["parts"] = []
esp32s3["parts"].append({"path": "ESP32/bootloader.bin", "offset": 4096})
esp32s3["parts"].append({"path": "ESP32/partitions.bin", "offset": 32768})
esp32s3["parts"].append({"path": "ESP32/ota.bin", "offset": 57344})
esp32s3["parts"].append({"path": "ESP32-S3/" + version[1] + "_" + sha + "_opendtufusion.bin", "offset": 65536})
data["builds"].append(esp32s3)

esp8266 = {}
esp8266["chipFamily"] = "ESP8266"
esp8266["parts"] = []
Expand Down

0 comments on commit e2ab5da

Please sign in to comment.