Skip to content

Commit 0ae1892

Browse files
committed
Upgrade ci
1 parent 80bcd3e commit 0ae1892

File tree

7 files changed

+43
-34
lines changed

7 files changed

+43
-34
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ jobs:
2525
with:
2626
java-version: "17"
2727
distribution: "temurin"
28-
- uses: subosito/flutter-action@v2.20.0
28+
- uses: subosito/flutter-action@v2.21.0
2929
with:
3030
flutter-version-file: app/pubspec.yaml
31+
cache: true
3132
- name: 📦 Get dependencies
3233
run: |
3334
flutter clean
@@ -111,9 +112,10 @@ jobs:
111112
run: |
112113
choco install yq
113114
choco install innosetup
114-
- uses: subosito/flutter-action@v2.20.0
115+
- uses: subosito/flutter-action@v2.21.0
115116
with:
116117
flutter-version-file: app/pubspec.yaml
118+
cache: true
117119
- name: ✅ Enable platforms
118120
run: flutter config --enable-windows-desktop
119121
- name: 📦 Get dependencies
@@ -202,13 +204,10 @@ jobs:
202204
libsecret-1-dev \
203205
libjsoncpp-dev \
204206
rpm
205-
- uses: subosito/flutter-action@v2.20.0
207+
- uses: subosito/flutter-action@v2.21.0
206208
with:
207209
flutter-version-file: app/pubspec.yaml
208-
channel: "master"
209210
cache: true
210-
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
211-
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
212211
- name: ✅ Enable platforms
213212
run: |
214213
rm -f "$(dirname "$(dirname "$(command -v flutter)")")/engine/src/.gn"
@@ -338,13 +337,10 @@ jobs:
338337
alien \
339338
libsecret-1-dev \
340339
libjsoncpp-dev
341-
- uses: subosito/flutter-action@v2.20.0
340+
- uses: subosito/flutter-action@v2.21.0
342341
with:
343342
flutter-version-file: app/pubspec.yaml
344-
channel: "master"
345343
cache: true
346-
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
347-
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
348344
- name: ✅ Enable platforms
349345
run: |
350346
rm -f "$(dirname "$(dirname "$(command -v flutter)")")/engine/src/.gn"
@@ -410,9 +406,10 @@ jobs:
410406
steps:
411407
- name: ⬆️ Checkout
412408
uses: actions/checkout@v4
413-
- uses: subosito/flutter-action@v2.20.0
409+
- uses: subosito/flutter-action@v2.21.0
414410
with:
415411
flutter-version-file: app/pubspec.yaml
412+
cache: true
416413
- uses: actions/setup-python@v5
417414
with:
418415
python-version: "3.12"
@@ -469,9 +466,10 @@ jobs:
469466
steps:
470467
- name: ⬆️ Checkout
471468
uses: actions/checkout@v4
472-
- uses: subosito/flutter-action@v2.20.0
469+
- uses: subosito/flutter-action@v2.21.0
473470
with:
474471
flutter-version-file: app/pubspec.yaml
472+
cache: true
475473
- name: 📦 Get dependencies
476474
run: |
477475
flutter clean
@@ -552,13 +550,10 @@ jobs:
552550
- name: Install tree
553551
if: ${{ matrix.os.name == 'macos-latest' }}
554552
run: brew install tree
555-
- uses: subosito/flutter-action@v2.20.0
553+
- uses: subosito/flutter-action@v2.21.0
556554
with:
557555
flutter-version-file: app/pubspec.yaml
558-
channel: 'master'
559556
cache: true
560-
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
561-
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'
562557
- name: 📦 Get dependencies
563558
run: |
564559
flutter clean
@@ -642,7 +637,7 @@ jobs:
642637
name: apk-x86_64-build
643638
- uses: actions/download-artifact@v4
644639
with:
645-
name: apk-corepack
640+
name: corepack
646641
path: core.stnx
647642
- uses: actions/download-artifact@v4
648643
with:
@@ -877,9 +872,10 @@ jobs:
877872
with:
878873
java-version: "17"
879874
distribution: "temurin"
880-
- uses: subosito/flutter-action@v2.20.0
875+
- uses: subosito/flutter-action@v2.21.0
881876
with:
882877
flutter-version-file: app/pubspec.yaml
878+
cache: true
883879
- name: Build nessesary files
884880
working-directory: ./
885881
run: |

.github/workflows/dart.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ jobs:
1515
steps:
1616
- name: ⬆️ Checkout
1717
uses: actions/checkout@v4
18-
- uses: subosito/flutter-action@v2.20.0
18+
- uses: subosito/flutter-action@v2.21.0
1919
with:
2020
flutter-version-file: app/pubspec.yaml
21+
cache: true
2122
- uses: actions/checkout@v4
2223
- name: Print Dart SDK version
2324
run: |

.github/workflows/deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ jobs:
5050
steps:
5151
- name: ⬆️ Checkout
5252
uses: actions/checkout@v4
53-
- uses: subosito/flutter-action@v2.20.0
53+
- uses: subosito/flutter-action@v2.21.0
5454
with:
5555
flutter-version-file: app/pubspec.yaml
56+
cache: true
5657
- name: Install dependencies
5758
run: flutter pub get
5859
- name: Generate documentation
@@ -78,9 +79,10 @@ jobs:
7879
steps:
7980
- name: ⬆️ Checkout
8081
uses: actions/checkout@v4
81-
- uses: subosito/flutter-action@v2.20.0
82+
- uses: subosito/flutter-action@v2.21.0
8283
with:
8384
flutter-version-file: app/pubspec.yaml
85+
cache: true
8486
- name: Install dependencies
8587
run: flutter pub get
8688
- name: Generate code

.github/workflows/release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ jobs:
2121
with:
2222
token: ${{ secrets.CI_PAT }}
2323
fetch-depth: 0
24-
- uses: subosito/flutter-action@v2.20.0
24+
- uses: subosito/flutter-action@v2.21.0
2525
with:
2626
flutter-version-file: app/pubspec.yaml
27+
cache: true
2728
- name: Setup git
2829
id: setup
2930
run: |
@@ -65,9 +66,10 @@ jobs:
6566
token: ${{ secrets.CI_PAT }}
6667
ref: ${{ github.ref }}
6768
fetch-depth: 0
68-
- uses: subosito/flutter-action@v2.20.0
69+
- uses: subosito/flutter-action@v2.21.0
6970
with:
7071
flutter-version-file: app/pubspec.yaml
72+
cache: true
7173
- name: Setup git
7274
id: setup
7375
shell: bash
@@ -127,9 +129,10 @@ jobs:
127129
with:
128130
token: ${{ secrets.CI_PAT }}
129131
fetch-depth: 0
130-
- uses: subosito/flutter-action@v2.20.0
132+
- uses: subosito/flutter-action@v2.21.0
131133
with:
132134
flutter-version-file: app/pubspec.yaml
135+
cache: true
133136
- name: Setup git
134137
id: setup
135138
run: |
@@ -190,9 +193,10 @@ jobs:
190193
echo "SETONIX_BUILD_NUMBER=${SETONIX_BUILD_NUMBER}" >> $GITHUB_ENV
191194
git config --global user.email "ci@linwood.dev"
192195
git config --global user.name "Linwood CI"
193-
- uses: subosito/flutter-action@v2.20.0
196+
- uses: subosito/flutter-action@v2.21.0
194197
with:
195198
flutter-version-file: app/pubspec.yaml
199+
cache: true
196200
- name: Bump version
197201
run: |
198202
git fetch

app/pubspec.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -398,26 +398,26 @@ packages:
398398
dependency: "direct main"
399399
description:
400400
name: flame
401-
sha256: "58566686ad9b7e6a3984c50a740fd733e0a5022d48263916f50b3c78e7f14ec0"
401+
sha256: ec0d2a536b543ff7c611a6fd331c24004590b8d898b4bd2feef7fe29eeeb7eca
402402
url: "https://pub.dev"
403403
source: hosted
404-
version: "1.29.0"
404+
version: "1.30.0"
405405
flame_bloc:
406406
dependency: "direct main"
407407
description:
408408
name: flame_bloc
409-
sha256: "4be69dd41bd46653cd3192d275fd7475f1f655a21deb57dda70e8645ce5d2b68"
409+
sha256: "868152d51ef1b5d1bb4631c9065a196371bcba835395bbe9a70bac4c5a476e01"
410410
url: "https://pub.dev"
411411
source: hosted
412-
version: "1.12.13"
412+
version: "1.12.14"
413413
flame_tiled:
414414
dependency: "direct main"
415415
description:
416416
name: flame_tiled
417-
sha256: "10b41d3128700f0cb5d5a617ae8d3d4e6a549b81c50f06386a541c17a729c75b"
417+
sha256: fb1383ad729f8ebfcc5082230b6269a3f61489e8dd8f1976aa959c8dc3764758
418418
url: "https://pub.dev"
419419
source: hosted
420-
version: "3.0.3"
420+
version: "3.0.4"
421421
flex_color_scheme:
422422
dependency: "direct main"
423423
description:

app/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ dependencies:
4646
flutter_bloc: ^9.0.0
4747
rxdart: ^0.28.0
4848
collection: ^1.18.0
49-
flame_bloc: ^1.12.11
50-
flame: ">=1.29.0 <1.30.0"
51-
flame_tiled: ^3.0.3
49+
flame_bloc: ^1.12.14
50+
flame: ">=1.30.0 <1.31.0"
51+
flame_tiled: ^3.0.4
5252
# Networking
5353
http: ^1.2.1
5454
web_socket_channel: ^3.0.0

tools/set_version.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ Future<void> main(List<String> args) async {
9797
workingDirectory: 'app',
9898
runInShell: true,
9999
);
100+
await Process.run(
101+
'flutter',
102+
['pub', 'get'],
103+
workingDirectory: 'plugin',
104+
runInShell: true,
105+
);
100106
await Process.run(
101107
'flutter',
102108
['pub', 'get'],

0 commit comments

Comments
 (0)