From 3bd05cb14f32dbca4cf57abe03fec4907450c7e7 Mon Sep 17 00:00:00 2001 From: brown <1173781832@qq.com> Date: Wed, 5 Jul 2023 23:16:31 +0800 Subject: [PATCH] change machine version to change libc to 2.31 (#10446) --- .github/workflows/release.yml | 31 +++++++++++-------------------- 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28ee8291261d9..fdb9332ea4cb7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,18 +5,15 @@ name: release on: release: types: [published] -env: - branch: main jobs: linux-amd64-build-job: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout source uses: actions/checkout@v3 - with: - repository: matrixorigin/matrixone - ref: ${{ env.branch }} + - name: Get tags + run: git fetch --tags origin - name: Use Golang uses: actions/setup-go@v4 with: @@ -47,11 +44,9 @@ jobs: runs-on: arm64-runner steps: - name: Checkout source - uses: actions/checkout@v3 - with: - repository: matrixorigin/matrixone - ref: ${{ env.branch }} - + uses: actions/checkout@v3 + - name: Get tags + run: git fetch --tags origin - name: Use Golang uses: actions/setup-go@v4 with: @@ -84,11 +79,9 @@ jobs: runs-on: macos-latest steps: - name: Checkout source - uses: actions/checkout@v3 - with: - repository: matrixorigin/matrixone - ref: ${{ env.branch }} - + uses: actions/checkout@v3 + - name: Get tags + run: git fetch --tags origin - name: Use Golang uses: actions/setup-go@v4 with: @@ -139,10 +132,8 @@ jobs: steps: - name: Checkout source uses: actions/checkout@v3 - with: - repository: matrixorigin/matrixone - ref: ${{ env.branch }} - + - name: Get tags + run: git fetch --tags origin - name: Check go Version run: | go version