sforkowany z mirror/meshtastic-firmware
Include release workflow
rodzic
8bbcdaa951
commit
99357e427b
|
@ -71,8 +71,6 @@ jobs:
|
||||||
tar -xf build.tar -C data/static
|
tar -xf build.tar -C data/static
|
||||||
rm build.tar
|
rm build.tar
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# We now run integration test before other build steps (to quickly see runtime failures)
|
# We now run integration test before other build steps (to quickly see runtime failures)
|
||||||
- name: Build for native
|
- name: Build for native
|
||||||
run: platformio run -e native
|
run: platformio run -e native
|
||||||
|
|
|
@ -47,6 +47,19 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pio upgrade
|
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
|
# Will be available in steps.version.outputs.version
|
||||||
- name: Get version string
|
- name: Get version string
|
||||||
run: echo "::set-output name=version::$(./bin/buildinfo.py long)"
|
run: echo "::set-output name=version::$(./bin/buildinfo.py long)"
|
||||||
|
|
Ładowanie…
Reference in New Issue