From 8fda407049a92fb92ecce472ea9f1bf4b1c8be0c Mon Sep 17 00:00:00 2001 From: Long Vu Date: Mon, 6 May 2024 15:51:57 +0700 Subject: [PATCH] Update to new runner --- .github/workflows/auto_test_android.yaml | 21 +++++++++++---------- .github/workflows/auto_test_ios.yaml | 8 ++++---- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/auto_test_android.yaml b/.github/workflows/auto_test_android.yaml index ac3a4a91f..341dda635 100644 --- a/.github/workflows/auto_test_android.yaml +++ b/.github/workflows/auto_test_android.yaml @@ -8,18 +8,19 @@ on: # - update_autotest jobs: build: - runs-on: [self-hosted, macOS, ARM, auto-android] + runs-on: [bmvn, autotest-android] steps: - # Checkout code and get packages. - - name: Checkout code - uses: actions/checkout@v3 - - name: SSH key uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: | ${{ secrets.SSH_ASSETS_KEY }} + --- ${{ secrets.SUBMODULE_AUTOTEST }} + # Checkout code and get packages. + - name: Checkout code + uses: actions/checkout@v3 + # Set build number - name: Set env run: | @@ -90,11 +91,11 @@ jobs: - name: Submoudles update run: git submodule update --init --recursive - - name: Checkout private submodule auto-test - run: | - git submodule update --init --recursive --remote auto-test - env: - GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no -i ${{ secrets.SUBMODULE_AUTOTEST }}" + # - name: Checkout private submodule auto-test + # run: | + # git submodule update --init --recursive --remote auto-test + # env: + # GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no -i ${{ secrets.SUBMODULE_AUTOTEST }}" - run: flutter pub cache repair - run: flutter pub get # Build app diff --git a/.github/workflows/auto_test_ios.yaml b/.github/workflows/auto_test_ios.yaml index 7ee51f1d6..1928588b0 100644 --- a/.github/workflows/auto_test_ios.yaml +++ b/.github/workflows/auto_test_ios.yaml @@ -8,7 +8,7 @@ on: # - develop jobs: build: - runs-on: [self-hosted, macOS, ARM, auto-ios] + runs-on: [bmvn, autotest-ios] steps: # Checkout code and get packages. - name: Checkout code @@ -39,7 +39,7 @@ jobs: cat .env - name: Submoudles update - run: git -c submodule.auto-test.update=none submodule update --init --recursive + run: git submodule update --init --recursive - run: flutter pub cache repair - run: flutter pub get # Build app @@ -65,8 +65,8 @@ jobs: # - name: Build to IPA inhouse app # run: flutter build ipa --flavor inhouse --export-options-plist ios/ExportOptions-Inhouse.plist - - name: Submoudles update again - run: git submodule update --init --recursive + # - name: Submoudles update again + # run: git submodule update --init --recursive - name: CD to auto-test folder run: | cd auto-test