Skip to content

Commit

Permalink
CI: Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzqs committed Aug 20, 2022
1 parent 30672b4 commit a46327e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/kite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
key: app-${{ github.ref }}-${{ github.sha }}

- name: 🏗️ Build Apk (arm64 only)
run: flutter build apk --split-per-abi
run: flutter build apk --split-per-abi --target-platform android-arm64,android-x64

- uses: r0adkll/sign-android-release@v1
name: Sign APK
Expand Down Expand Up @@ -197,23 +197,23 @@ jobs:
- name: ✏️ Rename apk file
run: |
cd build/app/outputs/flutter-apk/
mv app-arm64-v8a-release.apk ${{ env.BRANCH_NAME }}-${{ env.SHA }}-arm64-v8a-release.apk
mv app-x86_64-release.apk ${{ env.BRANCH_NAME }}-${{ env.SHA }}-x86_64-release.apk
mv app-arm64-v8a-release-signed.apk ${{ env.BRANCH_NAME }}-${{ env.SHA }}-arm64-v8a-release-signed.apk
mv app-x86_64-release-signed.apk ${{ env.BRANCH_NAME }}-${{ env.SHA }}-x86_64-release-signed.apk
- name: 🤖 Upload apk by bot
uses: appleboy/[email protected]
with:
to: ${{ secrets.CHAT_ID }}
token: ${{ secrets.BOT_TOKEN }}
document: build/app/outputs/flutter-apk/${{ env.BRANCH_NAME }}-${{ env.SHA }}-arm64-v8a-release.apk
document: build/app/outputs/flutter-apk/${{ env.BRANCH_NAME }}-${{ env.SHA }}-arm64-v8a-release-signed.apk
message: "🚀 Apk Build by Github Actions"

- name: 🤖 Upload apk by bot
uses: appleboy/[email protected]
with:
to: ${{ secrets.CHAT_ID }}
token: ${{ secrets.BOT_TOKEN }}
document: build/app/outputs/flutter-apk/${{ env.BRANCH_NAME }}-${{ env.SHA }}-x86_64-release.apk
document: build/app/outputs/flutter-apk/${{ env.BRANCH_NAME }}-${{ env.SHA }}-x86_64-release-signed.apk
message: "🚀 Apk Build by Github Actions"

# Send notification
Expand Down

0 comments on commit a46327e

Please sign in to comment.