From e690e0f6e6b3c90c922bd6ba052bb954f858403f Mon Sep 17 00:00:00 2001 From: 3003h Date: Sat, 18 Nov 2023 14:35:02 +0800 Subject: [PATCH] ci --- .github/workflows/release.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f64a0636..638ee1102 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,37 +24,41 @@ env: jobs: Build_and_upload: name: Build releases - env: - PACKAGE_NAME: FEhViewer strategy: fail-fast: false matrix: - flutter_version: ['3.16'] - flutter_channel: ['stable'] - suffix: [''] include: - target: android os: ubuntu-latest + flutter_version: 3.16 + flutter_channel: stable artifact_name: release-apk - artifact_path: build/app/outputs/apk/release/${PACKAGE_NAME}*.apk + artifact_path: build/app/outputs/apk/release/FEhViewer*.apk - target: ios os: macos-12 + flutter_version: 3.16 + flutter_channel: stable artifact_name: release-ios - artifact_path: build/**/${PACKAGE_NAME}*.ipa + artifact_path: build/**/FEhViewer*.ipa - target: ios suffix: -impeller os: macos-12 - flutter_version: 3.13 + flutter_version: 3.16 + flutter_channel: stable artifact_name: release-ios-impeller - artifact_path: build/**/${PACKAGE_NAME}*.ipa + artifact_path: build/**/FEhViewer*.ipa - target: macos os: macos-12 + flutter_version: 3.16 + flutter_channel: stable artifact_name: release-mac - artifact_path: build/macos/${PACKAGE_NAME}*.zip + artifact_path: build/macos/FEhViewer*.zip - target: windows os: windows-latest + flutter_version: 3.16 + flutter_channel: stable artifact_name: release-windows - artifact_path: build/windows/${PACKAGE_NAME}*.zip + artifact_path: build/windows/FEhViewer*.zip runs-on: ${{ matrix.os }} steps: