Include release workflow

1.2-legacy
Sacha Weatherstone 2021-10-09 16:44:00 +11:00
rodzic 8bbcdaa951
commit 99357e427b
2 zmienionych plików z 13 dodań i 2 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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)"