Skip to content

Commit 85275e6

Browse files
committed
ci: update actions to v4: checkout upload-artifact
also: - chore: flutter pub get - ci: rm java
1 parent 78a6d81 commit 85275e6

File tree

2 files changed

+29
-30
lines changed

2 files changed

+29
-30
lines changed

.github/workflows/flutter.yml

+16-17
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v3
20-
- uses: actions/setup-java@v2
21-
with:
22-
distribution: 'zulu'
23-
java-version: '11'
19+
- uses: actions/checkout@v4
2420
- uses: subosito/flutter-action@v2
2521
with:
22+
channel: stable
2623
flutter-version: '3.22.2'
2724
- run: flutter pub get
2825

@@ -38,19 +35,20 @@ jobs:
3835
TEST_INSTANCE_URL: ${{ secrets.TEST_INSTANCE_URL }}
3936
run: |
4037
echo "no testing"
41-
# flutter packages pub run build_runner build
42-
# flutter drive \
43-
# --dart-define=ELN_USERNAME=complat.user1@eln.edu \
44-
# --dart-define=ELN_PASSWORD=@complat \
45-
# --dart-define=ELN_URL=$TEST_INSTANCE_URL
46-
# --driver=test_driver/integration_test.dart \
47-
# --target=integration_test/app_test.dart
38+
39+
# flutter packages pub run build_runner build
40+
# flutter drive \
41+
# --dart-define=ELN_USERNAME=complat.user1@eln.edu \
42+
# --dart-define=ELN_PASSWORD=@complat \
43+
# --dart-define=ELN_URL=$TEST_INSTANCE_URL
44+
# --driver=test_driver/integration_test.dart \
45+
# --target=integration_test/app_test.dart
4846
4947
- name: set key properties
50-
#keyPassword="${{ secrets.KEY_PASSWORD }}"
51-
#storePassword="${{ secrets.STORE_PASSWORD }}"
52-
#keyAlias="${{ secrets.KEY_ALIAS }}
53-
#storeFile=keystore.jks
48+
# keyPassword="${{ secrets.KEY_PASSWORD }}"
49+
# storePassword="${{ secrets.STORE_PASSWORD }}"
50+
# keyAlias="${{ secrets.KEY_ALIAS }}
51+
# storeFile=keystore.jks
5452
run: |
5553
echo keyPassword="${{ secrets.KEY_PASSWORD }}" > ./android/key.properties
5654
echo storePassword="${{ secrets.STORE_PASSWORD }}" >> ./android/key.properties
@@ -59,10 +57,11 @@ jobs:
5957
echo "${{ secrets.KEY_JKS }}" | base64 --decode > ./android/app/keystore.jks
6058
6159
# - run: flutter build apk
60+
6261
- run: flutter build appbundle
6362

6463
- name: Upload artefact
65-
uses: actions/upload-artifact@v3
64+
uses: actions/upload-artifact@v4
6665
with:
6766
name: appbundle
6867
path: build/app/outputs/bundle/release/app-release.aab

pubspec.lock

+13-13
Original file line numberDiff line numberDiff line change
@@ -507,26 +507,26 @@ packages:
507507
dependency: transitive
508508
description:
509509
name: leak_tracker
510-
sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
510+
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
511511
url: "https://pub.dev"
512512
source: hosted
513-
version: "10.0.0"
513+
version: "10.0.4"
514514
leak_tracker_flutter_testing:
515515
dependency: transitive
516516
description:
517517
name: leak_tracker_flutter_testing
518-
sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
518+
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
519519
url: "https://pub.dev"
520520
source: hosted
521-
version: "2.0.1"
521+
version: "3.0.3"
522522
leak_tracker_testing:
523523
dependency: transitive
524524
description:
525525
name: leak_tracker_testing
526-
sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
526+
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
527527
url: "https://pub.dev"
528528
source: hosted
529-
version: "2.0.1"
529+
version: "3.0.1"
530530
lints:
531531
dependency: transitive
532532
description:
@@ -563,10 +563,10 @@ packages:
563563
dependency: transitive
564564
description:
565565
name: meta
566-
sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
566+
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
567567
url: "https://pub.dev"
568568
source: hosted
569-
version: "1.11.0"
569+
version: "1.12.0"
570570
mime:
571571
dependency: transitive
572572
description:
@@ -848,10 +848,10 @@ packages:
848848
dependency: transitive
849849
description:
850850
name: test_api
851-
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
851+
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
852852
url: "https://pub.dev"
853853
source: hosted
854-
version: "0.6.1"
854+
version: "0.7.0"
855855
timing:
856856
dependency: transitive
857857
description:
@@ -912,10 +912,10 @@ packages:
912912
dependency: transitive
913913
description:
914914
name: vm_service
915-
sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
915+
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
916916
url: "https://pub.dev"
917917
source: hosted
918-
version: "13.0.0"
918+
version: "14.2.1"
919919
watcher:
920920
dependency: transitive
921921
description:
@@ -982,4 +982,4 @@ packages:
982982
version: "3.1.2"
983983
sdks:
984984
dart: ">=3.3.0 <4.0.0"
985-
flutter: ">=3.16.6"
985+
flutter: ">=3.18.0-18.0.pre.54"

0 commit comments

Comments
 (0)