From 8b32278d34282806351bee8d44171d099f4b7710 Mon Sep 17 00:00:00 2001 From: George <58841610+Shinji-IkariG@users.noreply.github.com> Date: Tue, 8 Aug 2023 14:32:11 +0800 Subject: [PATCH] Update pull_request.yml --- .github/workflows/pull_request.yml | 35 ++++++++++++++---------------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 8f05989..0bffb29 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -22,13 +22,13 @@ jobs: fail-fast: false matrix: os: - #- centos7 - #- centos8 - #- ubuntu1604 - #- ubuntu1804 - #- ubuntu2004 - - ubuntu2204 - - ubuntu2304 + - centos7 + - centos8 + - ubuntu1604 + - ubuntu1804 + - ubuntu2004 + #- ubuntu2204 + #- ubuntu2304 compiler: - 9.3.0 arch: @@ -44,11 +44,9 @@ jobs: - name: Set up environment run: | echo "path=$(pwd)" >> $GITHUB_ENV - echo "COMPILER_VERSION=${{ matrix.compiler }}" >> $GITHUB_ENV - - name: Install dependencies - run: | bash <(curl -Ls $URL) install-gcc --version=${{ matrix.compiler }} + echo "COMPILER_VERSION=${{ matrix.compiler }}" >> $GITHUB_ENV - name: Pre-Build run: | cd .. @@ -68,13 +66,12 @@ jobs: export PATH=${TOOLSET_GCC_DIR}/bin:${PATH} build_package=1 ${{ env.path }}/build.sh working-directory: ../build/ - - name: Upload to OSS - uses: vesoft-inc/.github/actions/upload-to-oss@master + + - name: Setup MinIO + uses: vesoft-inc/.github/actions/setup-minio@master with: - key-id: ${{ secrets.OSS_ID }} - key-secret: ${{ secrets.OSS_SECRET }} - endpoint: ${{ secrets.OSS_ENDPOINT }} - bucket: nebula-test11 - asset-path: ../build/packages - target-path: third-party - + minio_url: ${{ secrets.MINIO_ENDPOINT }} + access_key: ${{ secrets.MINIO_KEY }} + secret_key: ${{ secrets.MINIO_SECRET }} + - name: Copy dir to MinIO + run: mc cp -r ../build/packages/ minio/test1/third-party/5.0/