|
@@ -8,7 +8,7 @@ jobs:
|
|
|
build:
|
|
|
strategy:
|
|
|
matrix:
|
|
|
- os: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
+ os: [windows-latest]
|
|
|
runs-on: ${{matrix.os}}
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
@@ -49,39 +49,11 @@ jobs:
|
|
|
if: steps.cache.outputs.cache-hit != 'true'
|
|
|
run: flutter pub get
|
|
|
|
|
|
- - name: Build apk
|
|
|
- if: ${{ runner.os == 'Linux' }}
|
|
|
- run: flutter build apk --debug --split-per-abi
|
|
|
-
|
|
|
- # - name: Build Web
|
|
|
- # if: ${{runner.os == 'Linux'}}
|
|
|
- # run: |
|
|
|
- # flutter build web
|
|
|
- # cd build/web
|
|
|
- # zip -r web-app.zip .
|
|
|
-
|
|
|
- - name: Build ios
|
|
|
- if: ${{ runner.os == 'macOS' }}
|
|
|
- run: |
|
|
|
- sudo xcode-select -s /Applications/Xcode_12.3.app
|
|
|
- flutter build ios --release --no-codesign
|
|
|
- cd build/ios/iphoneos
|
|
|
- mkdir Payload
|
|
|
- cd Payload
|
|
|
- ln -s ../Runner.app
|
|
|
- cd ..
|
|
|
- zip -r app.ipa Payload
|
|
|
-
|
|
|
- name: Build exe
|
|
|
if: ${{ runner.os == 'Windows'}}
|
|
|
run: |
|
|
|
flutter build windows
|
|
|
|
|
|
- - name: Build mac
|
|
|
- if: ${{ runner.os == 'macOS'}}
|
|
|
- run: |
|
|
|
- flutter build macos
|
|
|
-
|
|
|
# output some file:
|
|
|
- name: artifact
|
|
|
uses: actions/upload-artifact@v2
|