Bundle WebUI (#878)

* Bundle WebUI

* Include release workflow
This commit is contained in:
Sacha Weatherstone
2021-10-09 17:15:12 +11:00
committed by GitHub
parent b182819aff
commit dc436a3cc9
4 changed files with 26 additions and 1 deletions

View File

@@ -47,6 +47,19 @@ jobs:
run: |
pio upgrade
- name: Pull web ui
uses: dsaltares/fetch-gh-release-asset@master
with:
repo: "meshtastic/meshtastic-web"
file: "build.tar"
target: "build.tar"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Unpack web ui
run: |
tar -xf build.tar -C data/static
rm build.tar
# Will be available in steps.version.outputs.version
- name: Get version string
run: echo "::set-output name=version::$(./bin/buildinfo.py long)"