|
@@ -53,6 +53,13 @@ jobs:
|
|
|
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: |
|
|
@@ -64,12 +71,16 @@ jobs:
|
|
|
ln -s ../Runner.app
|
|
|
cd ..
|
|
|
zip -r app.ipa Payload
|
|
|
-
|
|
|
- # - name: Build Web
|
|
|
+
|
|
|
+ # - name: Build exe
|
|
|
+ # if: ${{ runner.os == 'Windows'}}
|
|
|
# run: |
|
|
|
- # flutter build web
|
|
|
- # cd build/web
|
|
|
- # zip -r web-app.zip .
|
|
|
+ # flutter build windows
|
|
|
+
|
|
|
+ # - name: Build mac
|
|
|
+ # if: ${{ runner.os == 'macOS'}}
|
|
|
+ # run: |
|
|
|
+ # flutter build macos
|
|
|
|
|
|
# output some file:
|
|
|
- name: artifact
|
|
@@ -79,6 +90,7 @@ jobs:
|
|
|
path: |
|
|
|
build/app/outputs/flutter-apk/**/*.apk
|
|
|
build/ios/**/*.ipa
|
|
|
+ build/web/web-app.zip
|
|
|
|
|
|
|
|
|
# - name: Deploy iOS Beta to TestFlight via Fastlane
|
|
@@ -105,4 +117,4 @@ jobs:
|
|
|
# tag: ${{ env.APP_VERSION }}
|
|
|
# name: ${{ env.APP_VERSION }}
|
|
|
# token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- # artifacts: 'build/app/outputs/apk/release/*.apk,build/ios/iphoneos/app.ipa,build/web/web-app.zip'
|
|
|
+ # artifacts: 'build/app/outputs/apk/release/*.apk,build/ios/iphoneos/app.ipa,build/web/web-app.zip'
|