From 2ff0d63823c2bc0e9e8300882df455fcea541182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Hlatk=C3=BD?= Date: Thu, 21 Nov 2024 19:07:47 +0100 Subject: [PATCH] Dependencies ako Git reference (#37) * Update dependencies to use Git ref instead of path * Drop now unnecessary checkout steps * pub upgrade * Update autogram_sign --- .github/workflows/android_package.yaml | 12 ------------ pubspec.lock | 16 ++++++++++------ pubspec.yaml | 8 ++++++-- 3 files changed, 16 insertions(+), 20 deletions(-) diff --git a/.github/workflows/android_package.yaml b/.github/workflows/android_package.yaml index b4da0b1..8c76429 100644 --- a/.github/workflows/android_package.yaml +++ b/.github/workflows/android_package.yaml @@ -27,18 +27,6 @@ jobs: with: path: app - - name: Checkout "eidmsdk_flutter" - uses: actions/checkout@v4 - with: - repository: slovensko-digital/eidmsdk-flutter - path: eidmsdk_flutter - - - name: Checkout "autogram_sign" - uses: actions/checkout@v4 - with: - repository: slovensko-digital/avm-client-dart - path: autogram_sign - - uses: actions/setup-java@v1 with: java-version: '17.x' diff --git a/pubspec.lock b/pubspec.lock index 2f29686..8f01dce 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -60,9 +60,11 @@ packages: autogram_sign: dependency: "direct main" description: - path: "../autogram_sign" - relative: true - source: path + path: "." + ref: "v0.4.4" + resolved-ref: b80e72aca42f2df4fecabfa1dcb88cacec91b5c7 + url: "https://github.com/slovensko-digital/avm-client-dart" + source: git version: "0.4.4" barcode: dependency: transitive @@ -291,9 +293,11 @@ packages: eidmsdk: dependency: "direct main" description: - path: "../eidmsdk_flutter" - relative: true - source: path + path: "." + ref: main + resolved-ref: e7fbc7d41a9cc861219d685c315904f7a63bdc41 + url: "https://github.com/slovensko-digital/eidmsdk-flutter" + source: git version: "0.0.1" equatable: dependency: transitive diff --git a/pubspec.yaml b/pubspec.yaml index ed18856..95a1de8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -12,9 +12,13 @@ dependencies: flutter_localizations: sdk: flutter eidmsdk: - path: ../eidmsdk_flutter + git: + url: https://github.com/slovensko-digital/eidmsdk-flutter + ref: main autogram_sign: - path: ../autogram_sign + git: + url: https://github.com/slovensko-digital/avm-client-dart + ref: v0.4.4 package_info_plus: share_plus: wakelock_plus: