Skip to content

Fix disabled clearing of network credentials. #510

Fix disabled clearing of network credentials.

Fix disabled clearing of network credentials. #510

Workflow file for this run

name: Build euphonium
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: cachix/install-nix-action@v24
with:
nix_path: nixpkgs=channel:nixos-23.05
# Usually, this would be called as 'nix build ".?submodules=1#app-esp32" '
# However, Nix 2.19 has a regression with submodule path handling, hence the odd syntax
# See https://github.com/NixOS/nix/issues/9530
- run: nix build "git+file://$(pwd)?shallow=1&submodules=1#app-esp32" -L
- name: Upload built package
uses: actions/upload-artifact@v4
with:
name: euphonium.gk_pkg
path: |
./result/euphonium.gk_pkg
- name: Upload package to muvox-api (develop)
if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
run: |
nix develop --command gk-flasher upload --package ./result/euphonium.gk_pkg --api-key ${{ secrets.MUVOX_API_KEY }} --url https://dashboard.gkindustries.pl