diff --git a/.github/workflows/did_kit.yaml b/.github/workflows/did_kit.yaml index 2647f7254..22c84751a 100644 --- a/.github/workflows/did_kit.yaml +++ b/.github/workflows/did_kit.yaml @@ -4,7 +4,7 @@ on: [pull_request, push] jobs: build: - uses: TalaoDAO/AltMe/.github/workflows/flutter_package.yaml@main + uses: TalaoDAO/AltMe/.github/workflows/flutter_package.yaml@october with: flutter_channel: stable flutter_version: 3.22.1 diff --git a/.github/workflows/flutter_package.yaml b/.github/workflows/flutter_package.yaml index d84446759..7ac20afe3 100644 --- a/.github/workflows/flutter_package.yaml +++ b/.github/workflows/flutter_package.yaml @@ -101,6 +101,9 @@ jobs: - name: 📦 Install Dependencies run: | + if grep -q 'path: ../../../didkit/lib/flutter' pubspec.yaml; then + sed -i 's|path: ../../../didkit/lib/flutter|git:\n url: https://github.com/spruceid/didkit.git\n path: lib/flutter|' pubspec.yaml + fi flutter pub global activate very_good_cli very_good packages get --recursive --ignore=${{inputs.package_get_excludes}} @@ -131,4 +134,4 @@ jobs: with: path: ${{inputs.working_directory}}/coverage/lcov.info exclude: ${{inputs.coverage_excludes}} - min_coverage: ${{inputs.min_coverage}} \ No newline at end of file + min_coverage: ${{inputs.min_coverage}}