From 0ae73199337a54bd83f6878b4d0d1cbaeca143ba Mon Sep 17 00:00:00 2001 From: "Dr.Blank" <64108942+Dr-Blank@users.noreply.github.com> Date: Sun, 8 Dec 2024 01:35:53 +0530 Subject: [PATCH] update ci --- .github/workflows/flutter_release.yaml | 2 +- .github/workflows/flutter_test.yaml | 28 ++++++++++++++++++++++++-- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/.github/workflows/flutter_release.yaml b/.github/workflows/flutter_release.yaml index 7a5d1ba..259b8ea 100644 --- a/.github/workflows/flutter_release.yaml +++ b/.github/workflows/flutter_release.yaml @@ -18,7 +18,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - submodules: 'true' + submodules: recursive - name: Set Up Java uses: actions/setup-java@v3.12.0 diff --git a/.github/workflows/flutter_test.yaml b/.github/workflows/flutter_test.yaml index 301598b..3be6733 100644 --- a/.github/workflows/flutter_test.yaml +++ b/.github/workflows/flutter_test.yaml @@ -6,6 +6,9 @@ on: - main pull_request: + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + jobs: test: runs-on: ubuntu-latest @@ -14,7 +17,29 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - submodules: 'true' + # This ensures submodules are cloned + submodules: recursive + + # Debug: Echo current directory contents + - name: List root directory contents + run: | + pwd + ls -la + + # Debug: Recursive directory structure + - name: Show full directory structure + run: | + echo "Full directory structure:" + tree -L 3 + + # Debug: Submodule status and details + - name: Check submodule status + run: | + echo "Submodule status:" + git submodule status + + echo "\nSubmodule details:" + git submodule foreach 'echo $path: && pwd && ls -la' - name: Decode android/upload.jks run: echo "${{ secrets.UPLOAD_KEYSTORE_JKS }}" | base64 --decode > android/upload.jks @@ -22,7 +47,6 @@ jobs: - name: Decode android/key.properties run: echo "${{ secrets.KEY_PROPERTIES }}" | base64 --decode > android/key.properties - - name: Set up Flutter uses: subosito/flutter-action@v2 with: