made macos more specific path, and added ios

This commit is contained in:
2024-09-03 17:59:19 -04:00
parent 24031f0a98
commit bb8d4f6a0e

View File

@@ -1,4 +1,4 @@
name: Build MacOS (iOS not enabled) name: Build MacOS and iOS
on: on:
push: push:
@@ -28,9 +28,20 @@ jobs:
- name: Build for MacOS - name: Build for MacOS
run: flutter build macos run: flutter build macos
- name: Build for iOS
run: flutter build ios --release --no-codesign
- name: Gather macos artifacts - name: Gather macos artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: flutter-macos-build-latest name: flutter-macos-build-latest
path: build/macos/Build path: build/macos/Build/Products
if-no-files-found: error
- name: Gather ios artifacts
uses: actions/upload-artifact@v4
with:
name: flutter-ios-build-latest
path: build/ios/iphoneos
if-no-files-found: error if-no-files-found: error