Skip to content

Commit d3e5919

Browse files
committed
* NEW Update the CI.
Signed-off-by: wangha <wanghamax@gmail.com>
1 parent 94c9dbf commit d3e5919

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,11 @@ name: CI Build & Test
22

33
on:
44
push:
5-
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
8-
release:
9-
types:
10-
- published
11-
branches:
12-
- main
5+
tags:
6+
- "v*.*.*"
137

148
jobs:
15-
build_upload:
9+
build:
1610
runs-on: ubuntu-latest
1711

1812
steps:
@@ -31,7 +25,6 @@ jobs:
3125
mkdir build && cd build
3226
cmake ..
3327
make -j2
34-
pwd && ls
3528
sudo make install
3629
cd ../../
3730
@@ -43,12 +36,10 @@ jobs:
4336
mkdir build && cd build
4437
cmake -DARROW_PARQUET=ON -DARROW_BUILD_SHARED=OFF -DARROW_WITH_BROTLI=OFF -DARROW_WITH_BZ2=OFF -DARROW_WITH_LZ4=OFF -DARROW_WITH_SNAPPY=OFF -DARROW_WITH_ZLIB=OFF -DARROW_WITH_ZSTD=ON -DARROW_USE_OPENSSL=ON -DPARQUET_REQUIRE_ENCRYPTION=ON ..
4538
make -j2
46-
pwd && ls
4739
sudo make install
4840
4941
- name: Build
5042
run: |
51-
pwd && ls
5243
mkdir build
5344
cd build
5445
cmake ..
@@ -72,7 +63,7 @@ jobs:
7263
7364
- name: Create Release
7465
uses: softprops/action-gh-release@v2
75-
if: startsWith(github.ref, 'refs/tags/')
66+
if: github.ref_type == 'tag'
7667
with:
7768
prerelease: ${{ steps.prerelease.outputs.prerelease }}
7869
generate_release_notes: true

0 commit comments

Comments
 (0)