From 037e95cc10e0aca4b38e3f2047c2d10c7b85a708 Mon Sep 17 00:00:00 2001 From: Fmar <_@fmar.link> Date: Tue, 28 Nov 2023 13:20:55 +0100 Subject: [PATCH] fix android release files naming + use flutter-version: '3.16.0' for linux build --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 83007f0b..c2df7704 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,8 +54,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ needs.release.outputs.upload_url }} - asset_path: build/app/outputs/flutter-apk/app-arm64-v8a-release.apk - asset_name: yana-android-${{ github.ref_name }}-arm64-v8a.apk + asset_path: build/app/outputs/flutter-apk/app-release.apk + asset_name: yana-v${{ github.ref_name }}-android-universal.apk asset_content_type: application/zip - name: Upload APK to release uses: actions/upload-release-asset@v1 @@ -64,7 +64,7 @@ jobs: with: upload_url: ${{ needs.release.outputs.upload_url }} asset_path: build/app/outputs/flutter-apk/app-arm64-v8a-release.apk - asset_name: yana-android-${{ github.ref_name }}-arm64-v8a.apk + asset_name: yana-v${{ github.ref_name }}-android-arm64-v8a.apk asset_content_type: application/zip - name: Upload APK to release uses: actions/upload-release-asset@v1 @@ -73,7 +73,7 @@ jobs: with: upload_url: ${{ needs.release.outputs.upload_url }} asset_path: build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk - asset_name: yana-android-${{ github.ref_name }}-armeabi-v7a.apk + asset_name: yana-v${{ github.ref_name }}-android-armeabi-v7a.apk asset_content_type: application/zip - name: Upload APK to release uses: actions/upload-release-asset@v1 @@ -82,7 +82,7 @@ jobs: with: upload_url: ${{ needs.release.outputs.upload_url }} asset_path: build/app/outputs/flutter-apk/app-x86_64-release.apk - asset_name: yana-android-${{ github.ref_name }}-x86_64.apk + asset_name: yana-v${{ github.ref_name }}-android-x86_64.apk asset_content_type: application/zip # - name: flutter build appbundle @@ -101,7 +101,7 @@ jobs: cache: 'gradle' - uses: subosito/flutter-action@v2 with: - flutter-version: '3.13.0' + flutter-version: '3.16.0' channel: 'stable' cache: true cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:' # optional, change this to force refresh cache