Skip to content

Commit

Permalink
Update to new runner
Browse files Browse the repository at this point in the history
  • Loading branch information
longbmk committed May 6, 2024
1 parent 9b51975 commit 8fda407
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/auto_test_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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: |
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/auto_test_ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8fda407

Please sign in to comment.