Skip to content

Commit

Permalink
Update pull_request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinji-IkariG committed Aug 8, 2023
1 parent 6de85fb commit 8b32278
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 ..
Expand All @@ -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/

0 comments on commit 8b32278

Please sign in to comment.