downgrade flutter

This commit is contained in:
hiddify-com
2024-06-01 15:36:19 +02:00
parent 762fa83fcf
commit 3678cc571e
2 changed files with 32 additions and 33 deletions

View File

@@ -15,7 +15,7 @@ on:
env:
IS_GITHUB_ACTIONS: 1
CHANNEL: "${{ inputs.channel }}"
FLUTTER_VERSION: '3.22.0'
FLUTTER_VERSION: '3.19.x'
NDK_VERSION: r26d
UPLOAD_ARTIFACT: "${{ inputs.upload-artifact }}"
TAG_NAME: "${{ inputs.tag-name }}"
@@ -38,8 +38,8 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.16.0 #issue with 2.13
with:
# flutter-version: ${{ env.FLUTTER_VERSION }}
channel: 'master'
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: 'stable'
cache: true
- name: Prepare
@@ -63,30 +63,30 @@ jobs:
os: ubuntu-latest
targets: apk
# - platform: android-aab
# os: ubuntu-latest
# targets: aab
- platform: android-aab
os: ubuntu-latest
targets: aab
# - platform: windows
# os: windows-2019
# aarch: amd64
# targets: exe,msix
- platform: windows
os: windows-2019
aarch: amd64
targets: exe,msix
# - platform: linux
# os: ubuntu-22.04
# aarch: amd64
# targets: AppImage,deb,rpm
- platform: linux
os: ubuntu-22.04
aarch: amd64
targets: AppImage,deb,rpm
# - platform: macos
# os: macos-13
# aarch: universal
# targets: dmg,pkg
- platform: macos
os: macos-13
aarch: universal
targets: dmg,pkg
# - platform: ios
# os: macos-13
# aarch: universal
# filename: hiddify-ios
# targets: ipa
- platform: ios
os: macos-13
aarch: universal
filename: hiddify-ios
targets: ipa
runs-on: ${{ matrix.os }}
steps:
- name: checkout
@@ -111,10 +111,9 @@ jobs:
- name: Setup Flutter
uses: subosito/flutter-action@v2.16.0 #issue with 2.13
with:
# flutter-version: ${{ env.FLUTTER_VERSION }}
flutter-version: ${{ env.FLUTTER_VERSION }}
# flutter-version-file: pubspec.yaml
# channel: 'stable'
channel: 'master'
channel: 'stable'
cache: true