Skip to content

Commit c60cd7f

Browse files
committed
merge 'main' into 'example'
remove "flutter setup" step
1 parent c4da41a commit c60cd7f

File tree

10 files changed

+2
-154
lines changed

10 files changed

+2
-154
lines changed

.github/workflows/aab-build.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ env:
2222
# Python version to use
2323
PYTHON_VERSION: 3.12.8
2424

25-
# Flutter version to use
26-
FLUTTER_VERSION: 3.27.4
27-
2825
# flet-cli version to install for `flet build`
2926
FLET_CLI_VERSION: 0.27.5
3027

@@ -55,14 +52,8 @@ jobs:
5552
python -m pip install --upgrade pip
5653
pip install flet-cli==$FLET_CLI_VERSION
5754
58-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
59-
uses: subosito/flutter-action@v2
60-
with:
61-
flutter-version: ${{ env.FLUTTER_VERSION }}
62-
6355
- name: Flet Build AAB
6456
run: |
65-
flutter config --no-analytics
6657
flet build aab --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
6758
6859
- name: Upload AAB Artifact
@@ -72,4 +63,3 @@ jobs:
7263
path: build/aab # location of Flet build output
7364
if-no-files-found: error # Fail the action with an error message if no files are found
7465
overwrite: false # If true, an artifact with a matching name will be deleted before a new one is uploaded. If false, the action will fail if an artifact for the given name already exists. Does not fail if the artifact does not exist.
75-

.github/workflows/apk-build.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ env:
2222
# Python version to use
2323
PYTHON_VERSION: 3.12.8
2424

25-
# Flutter version to use
26-
FLUTTER_VERSION: 3.27.4
27-
2825
# flet-cli version to install for `flet build`
2926
FLET_CLI_VERSION: 0.27.5
3027

@@ -55,14 +52,8 @@ jobs:
5552
python -m pip install --upgrade pip
5653
pip install flet-cli==$FLET_CLI_VERSION
5754
58-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
59-
uses: subosito/flutter-action@v2
60-
with:
61-
flutter-version: ${{ env.FLUTTER_VERSION }}
62-
6355
- name: Flet Build APK
6456
run: |
65-
flutter config --no-analytics
6657
flet build apk --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
6758
6859
- name: Upload APK Artifact
@@ -72,4 +63,3 @@ jobs:
7263
path: build/apk # location of Flet build output
7364
if-no-files-found: error # Fail the action with an error message if no files are found
7465
overwrite: false # If true, an artifact with a matching name will be deleted before a new one is uploaded. If false, the action will fail if an artifact for the given name already exists. Does not fail if the artifact does not exist.
75-

.github/workflows/desktop-and-mobile-builds.yml

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ env:
2222
# Python version to use
2323
PYTHON_VERSION: 3.12.8
2424

25-
# Flutter version to use
26-
FLUTTER_VERSION: 3.27.4
27-
2825
# flet-cli version to install for `flet build`
2926
FLET_CLI_VERSION: 0.27.5
3027

@@ -55,19 +52,13 @@ jobs:
5552
python -m pip install --upgrade pip
5653
pip install flet-cli==$FLET_CLI_VERSION
5754
58-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
59-
uses: subosito/flutter-action@v2
60-
with:
61-
flutter-version: ${{ env.FLUTTER_VERSION }}
62-
6355
- name: Patch for linux build
6456
run: |
6557
sudo apt-get update -y
6658
sudo apt-get install -y ninja-build libgtk-3-dev
6759
6860
- name: Flet Build Linux
6961
run: |
70-
flutter config --no-analytics
7162
flet build linux --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
7263
7364
- name: Upload Linux Artifact
@@ -95,14 +86,8 @@ jobs:
9586
python -m pip install --upgrade pip
9687
pip install flet-cli==$FLET_CLI_VERSION
9788
98-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
99-
uses: subosito/flutter-action@v2
100-
with:
101-
flutter-version: ${{ env.FLUTTER_VERSION }}
102-
10389
- name: Flet Build macOS
10490
run: |
105-
flutter config --no-analytics
10691
flet build macos --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
10792
10893
- name: Upload macOS Artifact
@@ -130,14 +115,8 @@ jobs:
130115
python -m pip install --upgrade pip
131116
pip install flet-cli==$env:FLET_CLI_VERSION
132117
133-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
134-
uses: subosito/flutter-action@v2
135-
with:
136-
flutter-version: ${{ env.FLUTTER_VERSION }}
137-
138118
- name: Flet Build Windows
139119
run: |
140-
flutter config --no-analytics
141120
flet build windows --verbose --no-rich-output --build-number=$env:BUILD_NUMBER --build-version=$env:BUILD_VERSION
142121
143122
- name: Upload Windows Artifact
@@ -165,14 +144,8 @@ jobs:
165144
python -m pip install --upgrade pip
166145
pip install flet-cli==$FLET_CLI_VERSION
167146
168-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
169-
uses: subosito/flutter-action@v2
170-
with:
171-
flutter-version: ${{ env.FLUTTER_VERSION }}
172-
173147
- name: Flet Build AAB
174148
run: |
175-
flutter config --no-analytics
176149
flet build aab --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
177150
178151
- name: Upload AAB Artifact
@@ -200,14 +173,8 @@ jobs:
200173
python -m pip install --upgrade pip
201174
pip install flet-cli==$FLET_CLI_VERSION
202175
203-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
204-
uses: subosito/flutter-action@v2
205-
with:
206-
flutter-version: ${{ env.FLUTTER_VERSION }}
207-
208176
- name: Flet Build APK
209177
run: |
210-
flutter config --no-analytics
211178
flet build apk --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
212179
213180
- name: Upload APK Artifact
@@ -235,14 +202,8 @@ jobs:
235202
python -m pip install --upgrade pip
236203
pip install flet-cli==$FLET_CLI_VERSION
237204
238-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
239-
uses: subosito/flutter-action@v2
240-
with:
241-
flutter-version: ${{ env.FLUTTER_VERSION }}
242-
243205
- name: Flet Build IPA
244206
run: |
245-
flutter config --no-analytics
246207
flet build ipa --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
247208
248209
- name: Upload IPA Artifact
@@ -251,4 +212,4 @@ jobs:
251212
name: ipa-build-artifact
252213
path: build/ipa
253214
if-no-files-found: warn
254-
overwrite: false
215+
overwrite: false

.github/workflows/desktop-builds.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ env:
2222
# Python version to use
2323
PYTHON_VERSION: 3.12.8
2424

25-
# Flutter version to use
26-
FLUTTER_VERSION: 3.27.4
27-
2825
# flet-cli version to install for `flet build`
2926
FLET_CLI_VERSION: 0.27.5
3027

@@ -55,19 +52,13 @@ jobs:
5552
python -m pip install --upgrade pip
5653
pip install flet-cli==$FLET_CLI_VERSION
5754
58-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
59-
uses: subosito/flutter-action@v2
60-
with:
61-
flutter-version: ${{ env.FLUTTER_VERSION }}
62-
6355
- name: Patch for linux build
6456
run: |
6557
sudo apt-get update -y
6658
sudo apt-get install -y ninja-build libgtk-3-dev
6759
6860
- name: Flet Build Linux
6961
run: |
70-
flutter config --no-analytics
7162
flet build linux --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
7263
7364
- name: Upload Linux Artifact
@@ -95,14 +86,8 @@ jobs:
9586
python -m pip install --upgrade pip
9687
pip install flet-cli==$FLET_CLI_VERSION
9788
98-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
99-
uses: subosito/flutter-action@v2
100-
with:
101-
flutter-version: ${{ env.FLUTTER_VERSION }}
102-
10389
- name: Flet Build macOS
10490
run: |
105-
flutter config --no-analytics
10691
flet build macos --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
10792
10893
- name: Upload macOS Artifact
@@ -130,14 +115,8 @@ jobs:
130115
python -m pip install --upgrade pip
131116
pip install flet-cli==$env:FLET_CLI_VERSION
132117
133-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
134-
uses: subosito/flutter-action@v2
135-
with:
136-
flutter-version: ${{ env.FLUTTER_VERSION }}
137-
138118
- name: Flet Build Windows
139119
run: |
140-
flutter config --no-analytics
141120
flet build windows --verbose --no-rich-output --build-number=$env:BUILD_NUMBER --build-version=$env:BUILD_VERSION
142121
143122
- name: Upload Windows Artifact
@@ -146,4 +125,4 @@ jobs:
146125
name: windows-build-artifact
147126
path: build/windows
148127
if-no-files-found: warn
149-
overwrite: false
128+
overwrite: false

.github/workflows/ipa-build.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ env:
2222
# Python version to use
2323
PYTHON_VERSION: 3.12.8
2424

25-
# Flutter version to use
26-
FLUTTER_VERSION: 3.27.4
27-
2825
# flet-cli version to install for `flet build`
2926
FLET_CLI_VERSION: 0.27.5
3027

@@ -55,14 +52,8 @@ jobs:
5552
python -m pip install --upgrade pip
5653
pip install flet-cli==$FLET_CLI_VERSION
5754
58-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
59-
uses: subosito/flutter-action@v2
60-
with:
61-
flutter-version: ${{ env.FLUTTER_VERSION }}
62-
6355
- name: Flet Build IPA
6456
run: |
65-
flutter config --no-analytics
6657
flet build ipa --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
6758
6859
- name: Upload IPA Artifact
@@ -72,4 +63,3 @@ jobs:
7263
path: build/ipa # location of Flet build output
7364
if-no-files-found: error # Fail the action with an error message if no files are found
7465
overwrite: false # If true, an artifact with a matching name will be deleted before a new one is uploaded. If false, the action will fail if an artifact for the given name already exists. Does not fail if the artifact does not exist.
75-

.github/workflows/linux-build.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ env:
2222
# Python version to use
2323
PYTHON_VERSION: 3.12.8
2424

25-
# Flutter version to use
26-
FLUTTER_VERSION: 3.27.4
27-
2825
# flet-cli version to install for `flet build`
2926
FLET_CLI_VERSION: 0.27.5
3027

@@ -55,19 +52,13 @@ jobs:
5552
python -m pip install --upgrade pip
5653
pip install flet-cli==$FLET_CLI_VERSION
5754
58-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
59-
uses: subosito/flutter-action@v2
60-
with:
61-
flutter-version: ${{ env.FLUTTER_VERSION }}
62-
6355
- name: Patch for linux build
6456
run: |
6557
sudo apt-get update -y
6658
sudo apt-get install -y ninja-build libgtk-3-dev
6759
6860
- name: Flet Build Linux
6961
run: |
70-
flutter config --no-analytics
7162
flet build linux --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
7263
7364
- name: Upload Linux Artifact
@@ -77,4 +68,3 @@ jobs:
7768
path: build/linux # location of Flet build output
7869
if-no-files-found: error # Fail the action with an error message if no files are found
7970
overwrite: false # If true, an artifact with a matching name will be deleted before a new one is uploaded. If false, the action will fail if an artifact for the given name already exists. Does not fail if the artifact does not exist.
80-

.github/workflows/macos-build.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ env:
2222
# Python version to use
2323
PYTHON_VERSION: 3.12.8
2424

25-
# Flutter version to use
26-
FLUTTER_VERSION: 3.27.4
27-
2825
# flet-cli version to install for `flet build`
2926
FLET_CLI_VERSION: 0.27.5
3027

@@ -55,14 +52,8 @@ jobs:
5552
python -m pip install --upgrade pip
5653
pip install flet-cli==$FLET_CLI_VERSION
5754
58-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
59-
uses: subosito/flutter-action@v2
60-
with:
61-
flutter-version: ${{ env.FLUTTER_VERSION }}
62-
6355
- name: Flet Build macOS
6456
run: |
65-
flutter config --no-analytics
6657
flet build macos --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
6758
6859
- name: Upload macOS Artifact
@@ -72,4 +63,3 @@ jobs:
7263
path: build/macos # location of Flet build output
7364
if-no-files-found: error # Fail the action with an error message if no files are found
7465
overwrite: false # If true, an artifact with a matching name will be deleted before a new one is uploaded. If false, the action will fail if an artifact for the given name already exists. Does not fail if the artifact does not exist.
75-

.github/workflows/mobile-builds.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ env:
2222
# Python version to use
2323
PYTHON_VERSION: 3.12.8
2424

25-
# Flutter version to use
26-
FLUTTER_VERSION: 3.27.4
27-
2825
# flet-cli version to install for `flet build`
2926
FLET_CLI_VERSION: 0.27.5
3027

@@ -55,14 +52,8 @@ jobs:
5552
python -m pip install --upgrade pip
5653
pip install flet-cli==$FLET_CLI_VERSION
5754
58-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
59-
uses: subosito/flutter-action@v2
60-
with:
61-
flutter-version: ${{ env.FLUTTER_VERSION }}
62-
6355
- name: Flet Build AAB
6456
run: |
65-
flutter config --no-analytics
6657
flet build aab --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
6758
6859
- name: Upload AAB Artifact
@@ -90,14 +81,8 @@ jobs:
9081
python -m pip install --upgrade pip
9182
pip install flet-cli==$FLET_CLI_VERSION
9283
93-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
94-
uses: subosito/flutter-action@v2
95-
with:
96-
flutter-version: ${{ env.FLUTTER_VERSION }}
97-
9884
- name: Flet Build APK
9985
run: |
100-
flutter config --no-analytics
10186
flet build apk --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
10287
10388
- name: Upload APK Artifact
@@ -125,14 +110,8 @@ jobs:
125110
python -m pip install --upgrade pip
126111
pip install flet-cli==$FLET_CLI_VERSION
127112
128-
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
129-
uses: subosito/flutter-action@v2
130-
with:
131-
flutter-version: ${{ env.FLUTTER_VERSION }}
132-
133113
- name: Flet Build IPA
134114
run: |
135-
flutter config --no-analytics
136115
flet build ipa --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
137116
138117
- name: Upload IPA Artifact

0 commit comments

Comments
 (0)