make macos-related actions not use nix
This commit is contained in:
parent
a2cdc3df68
commit
a0e5d2fb9e
2 changed files with 24 additions and 34 deletions
26
.github/workflows/ios.yml
vendored
26
.github/workflows/ios.yml
vendored
|
|
@ -16,24 +16,22 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Lix GHA Installer Action
|
- name: Set up Flutter
|
||||||
uses: samueldr/lix-gha-installer-action@v2026-02-22
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
extra_nix_config: experimental-features = nix-command flakes flake-self-attrs
|
flutter-version: 3.44.4
|
||||||
|
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v6
|
||||||
|
with:
|
||||||
|
go-version-file: gomuks/go.mod
|
||||||
|
|
||||||
- name: Build app
|
- name: Build app
|
||||||
run: |
|
run: |
|
||||||
nix develop --command bash -c '
|
flutter pub get
|
||||||
set -e
|
dart scripts/generate.dart
|
||||||
flutter pub get
|
flutter pub run build_runner build
|
||||||
dart scripts/generate.dart
|
flutter build ios --release --no-codesign
|
||||||
flutter pub run build_runner build
|
|
||||||
|
|
||||||
FLUTTER_ROOT="$(dirname "$(dirname "$(readlink -f "$(command -v flutter)")")")"
|
|
||||||
sudo find -L "$FLUTTER_ROOT" -type d -iname "*.framework" -exec chmod -R u+w {} +
|
|
||||||
|
|
||||||
flutter build ios --release --no-codesign
|
|
||||||
'
|
|
||||||
|
|
||||||
# Unsigned IPA: SideStore/AltStore re-sign this on-device with the
|
# Unsigned IPA: SideStore/AltStore re-sign this on-device with the
|
||||||
# user's own Apple ID at install time, so no certificate is needed here.
|
# user's own Apple ID at install time, so no certificate is needed here.
|
||||||
|
|
|
||||||
32
.github/workflows/macos.yml
vendored
32
.github/workflows/macos.yml
vendored
|
|
@ -16,27 +16,19 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Lix GHA Installer Action
|
- name: Set up Flutter
|
||||||
uses: samueldr/lix-gha-installer-action@v2026-02-22
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
extra_nix_config: experimental-features = nix-command flakes flake-self-attrs
|
flutter-version: 3.44.4
|
||||||
|
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v6
|
||||||
|
with:
|
||||||
|
go-version-file: gomuks/go.mod
|
||||||
|
|
||||||
- name: Build app
|
- name: Build app
|
||||||
run: |
|
run: |
|
||||||
nix develop --command bash -c '
|
flutter pub get
|
||||||
set -e
|
dart scripts/generate.dart
|
||||||
flutter pub get
|
flutter pub run build_runner build
|
||||||
dart scripts/generate.dart
|
flutter build macos --release
|
||||||
flutter pub run build_runner build
|
|
||||||
|
|
||||||
FLUTTER_ROOT="$(dirname "$(dirname "$(readlink -f "$(command -v flutter)")")")"
|
|
||||||
sudo find -L "$FLUTTER_ROOT" -type d -iname "*.framework" -exec chmod -R u+w {} +
|
|
||||||
|
|
||||||
flutter build macos --release
|
|
||||||
'
|
|
||||||
|
|
||||||
- name: Upload installer artifact
|
|
||||||
uses: actions/upload-artifact@v6
|
|
||||||
with:
|
|
||||||
name: App
|
|
||||||
path: build/macos/Build/Products/Release/Nexus.app
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue