Skip to content

Commit

Permalink
Merge branch 'workflows' into mac_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
d1y committed May 13, 2022
2 parents ca79bc7 + f9c1234 commit 620c7ba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
java-version: "12.x"
- uses: subosito/flutter-action@v1
with:
flutter-version: "2.5.3"
channel: "stable"
- run: flutter pub get
- run: flutter pub deps

- run: flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi

- run: |
Expand All @@ -29,11 +29,17 @@ jobs:
ln -s ../Runner.app
cd ..
zip -r app.ipa Payload
- run: |
flutter build macos --release
cd build/macos/Build/Products/Release
zip -r dan211.mac.zip dan211.app/*
- uses: softprops/action-gh-release@v1
with:
files: |
build/app/outputs/flutter-apk/*.apk
build/ios/iphoneos/app.ipa
build/macos/Build/Products/Release/dan211.mac.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 620c7ba

Please sign in to comment.