Created
November 27, 2023 06:35
-
-
Save Heilum/119a75af847fc14d994daccd1f2041d3 to your computer and use it in GitHub Desktop.
github action for deploy apk to pgy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: qat_apk on pgy | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./app/xxxxxx | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: "12.x" | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- run: flutter config --no-analytics | |
- run: flutter pub get | |
- run: flutter pub run flutter_native_splash:create | |
- run: flutter build apk --release --target-platform android-arm64,android-arm --split-per-abi --no-tree-shake-icons | |
- run: ./pgyer_upload.sh -k xxxxxxxxxxxxx ./build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment