diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b615229..e7f78368 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/pubspec.yaml b/pubspec.yaml index 3e51fa60..ee02e99a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,13 +13,13 @@ dependencies: flutter_localizations: sdk: flutter cupertino_icons: ^1.0.6 - # intl: ^0.18.1 - # humanizer: ^2.2.0 - intl: ^0.19.0 - humanizer: - git: - url: https://github.com/alex-relov/humanizer - ref: up-version + intl: ^0.18.1 + humanizer: ^2.2.0 + # intl: ^0.19.0 + # humanizer: + # git: + # url: https://github.com/alex-relov/humanizer + # ref: up-version slang: ^3.30.1 slang_flutter: ^3.30.0 fpdart: ^1.1.0