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 <sammy.huang@zilliz.com>
pull/29569/head
sammy.huang 2023-12-28 15:48:48 +08:00 committed by GitHub
parent 4b406e5973
commit 497ced9588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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