forked from Nexus/nexus
use devshell for macos
This commit is contained in:
parent
9298eb815d
commit
b2813a0eb5
2 changed files with 7 additions and 5 deletions
6
.github/workflows/macos.yml
vendored
6
.github/workflows/macos.yml
vendored
|
|
@ -20,10 +20,10 @@ jobs:
|
|||
extra_nix_config: experimental-features = nix-command flakes flake-self-attrs
|
||||
|
||||
- name: Build app
|
||||
run: nix build .#default
|
||||
run: nix develop --command bash -c "flutter pub get && dart scripts/generate.dart && flutter pub run build_runner build && flutter build macos --release"
|
||||
|
||||
- name: Upload installer artifact
|
||||
uses: actions/upload-artifact@v6
|
||||
with:
|
||||
name: flatpak-${{ matrix.arch }}
|
||||
path: result/Nexus.app
|
||||
name: App
|
||||
path: build/macos/Build/Products/Release/Nexus.app
|
||||
Loading…
Reference in a new issue