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

View File

@@ -13,13 +13,13 @@ dependencies:
flutter_localizations: flutter_localizations:
sdk: flutter sdk: flutter
cupertino_icons: ^1.0.6 cupertino_icons: ^1.0.6
# intl: ^0.18.1 intl: ^0.18.1
# humanizer: ^2.2.0 humanizer: ^2.2.0
intl: ^0.19.0 # intl: ^0.19.0
humanizer: # humanizer:
git: # git:
url: https://github.com/alex-relov/humanizer # url: https://github.com/alex-relov/humanizer
ref: up-version # ref: up-version
slang: ^3.30.1 slang: ^3.30.1
slang_flutter: ^3.30.0 slang_flutter: ^3.30.0
fpdart: ^1.1.0 fpdart: ^1.1.0