From 497ced9588d4064412314b29f174d3cf620c8f3b Mon Sep 17 00:00:00 2001 From: "sammy.huang" Date: Thu, 28 Dec 2023 15:48:48 +0800 Subject: [PATCH] enhance: allow github actions runner run on ubuntu-latest os (#29525) since milvus's build procedure is in the responding docker enviornment, this procedure does not bind with particular host os, in turn it allows milvus build on any os , including latest ubuntu os background: our self hosted runner is only using ubuntu-latest os benefit: make this github workflow obtain the resource from the self-hosted runner Signed-off-by: Sammy Huang --- .github/workflows/main.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 368ee72b54..0cf19263dc 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -42,7 +42,7 @@ concurrency: jobs: Build: name: Build and test AMD64 Ubuntu ${{ matrix.ubuntu }} - runs-on: ubuntu-${{ matrix.ubuntu }} + runs-on: ubuntu-latest timeout-minutes: 180 strategy: fail-fast: false @@ -105,7 +105,7 @@ jobs: UT-Cpp: name: UT for Cpp needs: Build - runs-on: ubuntu-${{ matrix.ubuntu }} + runs-on: ubuntu-latest timeout-minutes: 60 strategy: fail-fast: false @@ -145,7 +145,7 @@ jobs: UT-Go: name: UT for Go needs: Build - runs-on: ubuntu-${{ matrix.ubuntu }} + runs-on: ubuntu-latest timeout-minutes: 60 strategy: fail-fast: false @@ -185,7 +185,7 @@ jobs: integration-test: name: Integration Test needs: Build - runs-on: ubuntu-${{ matrix.ubuntu }} + runs-on: ubuntu-latest timeout-minutes: 60 strategy: fail-fast: false