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>
This commit is contained in:
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

View File

@ -42,7 +42,7 @@ concurrency:
jobs: jobs:
Build: Build:
name: Build and test AMD64 Ubuntu ${{ matrix.ubuntu }} name: Build and test AMD64 Ubuntu ${{ matrix.ubuntu }}
runs-on: ubuntu-${{ matrix.ubuntu }} runs-on: ubuntu-latest
timeout-minutes: 180 timeout-minutes: 180
strategy: strategy:
fail-fast: false fail-fast: false
@ -105,7 +105,7 @@ jobs:
UT-Cpp: UT-Cpp:
name: UT for Cpp name: UT for Cpp
needs: Build needs: Build
runs-on: ubuntu-${{ matrix.ubuntu }} runs-on: ubuntu-latest
timeout-minutes: 60 timeout-minutes: 60
strategy: strategy:
fail-fast: false fail-fast: false
@ -145,7 +145,7 @@ jobs:
UT-Go: UT-Go:
name: UT for Go name: UT for Go
needs: Build needs: Build
runs-on: ubuntu-${{ matrix.ubuntu }} runs-on: ubuntu-latest
timeout-minutes: 60 timeout-minutes: 60
strategy: strategy:
fail-fast: false fail-fast: false
@ -185,7 +185,7 @@ jobs:
integration-test: integration-test:
name: Integration Test name: Integration Test
needs: Build needs: Build
runs-on: ubuntu-${{ matrix.ubuntu }} runs-on: ubuntu-latest
timeout-minutes: 60 timeout-minutes: 60
strategy: strategy:
fail-fast: false fail-fast: false