From a1453a627968ab07779bf87e3871bf8e2c890a68 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Sun, 29 Oct 2023 14:02:09 +0530 Subject: [PATCH] added flutter publish dry run check --- .github/workflows/build.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1bea2cd78..beb9677f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,12 +54,20 @@ jobs: uses: zgosalvez/github-actions-analyze-dart@v2 with: working-directory: packages/hmssdk_flutter - - name: Check SDK Publish Sanity - run: | - cd packages/hmssdk_flutter - flutter pub publish --dry-run - cd ../hms_room_kit - flutter pub publish --dry-run + - name: Check Publish Sanity for HMSSDK + uses: sakebook/actions-flutter-pub-publisher@v1.4.1 + with: + credential: ${{ secrets.CREDENTIAL_JSON }} + package_directory: packages/hmssdk_flutter + skip_test: true + dry_run: true + - name: Check Publish Sanity for HMSSDK + uses: sakebook/actions-flutter-pub-publisher@v1.4.1 + with: + credential: ${{ secrets.CREDENTIAL_JSON }} + package_directory: packages/hms_room_kit + skip_test: true + dry_run: true - name: Commit and Push changes uses: stefanzweifel/git-auto-commit-action@v5 with: