mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-29 12:22:52 +03:00
Use Flutter 3.13.1 with external config.
This commit is contained in:
parent
ad645a4b43
commit
34fc3ab788
14
.github/workflows/android.yml
vendored
14
.github/workflows/android.yml
vendored
@ -13,19 +13,23 @@ jobs:
|
||||
distribution: 'zulu'
|
||||
java-version: '11'
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
path: 'app'
|
||||
|
||||
- name: Read variables from repo
|
||||
run: cat .github/workflows/env >> $GITHUB_ENV
|
||||
working-directory: ./app
|
||||
|
||||
- name: Install Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: 'stable'
|
||||
flutter-version: '3.13.0'
|
||||
flutter-version: ${{ env.FLUTTER }}
|
||||
- run: |
|
||||
flutter config
|
||||
flutter --version
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
path: 'app'
|
||||
|
||||
- name: Check app versions
|
||||
run: |
|
||||
python set-version.py
|
||||
|
5
.github/workflows/check-strings.yml
vendored
5
.github/workflows/check-strings.yml
vendored
@ -6,12 +6,13 @@ jobs:
|
||||
strings:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
FLUTTER: '3.13.0'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Read variables from repo
|
||||
run: cat .github/workflows/env >> $GITHUB_ENV
|
||||
|
||||
- name: Ensure main locale is correct
|
||||
run: python check_strings.py lib/l10n/app_en.arb
|
||||
|
||||
|
14
.github/workflows/codeql-analysis.yml
vendored
14
.github/workflows/codeql-analysis.yml
vendored
@ -39,19 +39,23 @@ jobs:
|
||||
distribution: 'zulu'
|
||||
java-version: '11'
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
path: 'app'
|
||||
|
||||
- name: Read variables from repo
|
||||
run: cat .github/workflows/env >> $GITHUB_ENV
|
||||
working-directory: ./app
|
||||
|
||||
- name: Install Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: 'stable'
|
||||
flutter-version: '3.13.0'
|
||||
flutter-version: ${{ env.FLUTTER }}
|
||||
- run: |
|
||||
flutter config
|
||||
flutter --version
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
path: 'app'
|
||||
|
||||
- name: Run flutter tests
|
||||
run: |
|
||||
flutter test
|
||||
|
2
.github/workflows/env
vendored
Normal file
2
.github/workflows/env
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
FLUTTER=3.13.1
|
||||
PYVER=3.11.4
|
10
.github/workflows/linux.yml
vendored
10
.github/workflows/linux.yml
vendored
@ -6,15 +6,19 @@ jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
PYVER: '3.11.4'
|
||||
FLUTTER: '3.13.0'
|
||||
container:
|
||||
image: ubuntu:20.04
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
sparse-checkout: .github/workflows/env
|
||||
|
||||
- name: Read variables from repo
|
||||
run: cat .github/workflows/env >> $GITHUB_ENV
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
export PYVER_MINOR=${PYVER%.*}
|
||||
|
6
.github/workflows/macos.yml
vendored
6
.github/workflows/macos.yml
vendored
@ -7,12 +7,14 @@ jobs:
|
||||
|
||||
runs-on: macos-latest
|
||||
env:
|
||||
PYVER: '3.11.4'
|
||||
MACOSX_DEPLOYMENT_TARGET: "10.15"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Read variables from repo
|
||||
run: cat .github/workflows/env >> $GITHUB_ENV
|
||||
|
||||
- name: Check app versions
|
||||
run: |
|
||||
python3 set-version.py
|
||||
@ -49,7 +51,7 @@ jobs:
|
||||
with:
|
||||
channel: 'stable'
|
||||
architecture: 'x64'
|
||||
flutter-version: '3.13.0'
|
||||
flutter-version: ${{ env.FLUTTER }}
|
||||
- run: flutter config --enable-macos-desktop
|
||||
- run: flutter --version
|
||||
|
||||
|
8
.github/workflows/windows.yml
vendored
8
.github/workflows/windows.yml
vendored
@ -6,12 +6,14 @@ jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
PYVER: '3.11.4'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Read variables from repo
|
||||
shell: bash
|
||||
run: cat .github/workflows/env >> $GITHUB_ENV
|
||||
|
||||
- name: Check app versions
|
||||
run: |
|
||||
python set-version.py
|
||||
@ -45,7 +47,7 @@ jobs:
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: 'stable'
|
||||
flutter-version: '3.13.0'
|
||||
flutter-version: ${{ env.FLUTTER }}
|
||||
- run: flutter config --enable-windows-desktop
|
||||
- run: flutter --version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user