Skip to content

Commit

Permalink
Fix build path (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
yixinglu authored Mar 4, 2024
1 parent 02e453f commit 5b8b125
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,7 @@ jobs:
bash <(curl -Ls $URL)
install-gcc --version=${{ matrix.compiler }}
- name: Pre-Build
run: |
if [ -d "build" ]; then
find build -maxdepth 1 -mindepth 1 ! -name '*.tgz' -exec rm -rf {} +
else
mkdir build
fi
working-directory: ../
run: mkdir -p _build
- name: Build
run: |
if [[ -n "${{ matrix.compiler }}" ]]; then
Expand All @@ -84,23 +78,23 @@ jobs:
export PATH=${TOOLSET_GCC_DIR}/bin:${PATH}
export LD_LIBRARY_PATH=${TOOLSET_GCC_DIR}/lib64:$LD_LIBRARY_PATH
fi
build_package=1 version=$VERSION ./build.sh
working-directory: ../build/
build_package=1 version=$VERSION ../build.sh
working-directory: _build/
- name: Setup MinIO
uses: vesoft-inc/.github/actions/setup-minio@master
with:
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/rc-build/third-party/$VERSION/
run: mc cp -r _build/packages/ minio/rc-build/third-party/$VERSION/
- uses: vesoft-inc/.github/actions/upload-to-oss@master
with:
key-id: ${{ secrets.OSS_ID }}
key-secret: ${{ secrets.OSS_SECRET }}
endpoint: ${{ secrets.OSS_ENDPOINT }}
bucket: nebula-graph
asset-path: ../build/packages/
asset-path: _build/packages/
target-path: third-party/$VERSION/

repo-dispatch:
Expand Down

0 comments on commit 5b8b125

Please sign in to comment.