Skip to content

Commit

Permalink
upgrade thirdparty build (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
aceforeverd authored Feb 28, 2024
1 parent 3c718d3 commit ec68c69
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ on:

env:
OPENMLDB_REPO: 4paradigm/OpenMLDB
OPENMLDB_REF: 3b473abe1450477be1e9b0e91e806520c59085e5
OPENMLDB_REF: cdaf3114904620f5b7a83e3902364eb0f68b91db

jobs:
thirdparty-linux:
Expand Down Expand Up @@ -90,14 +90,14 @@ jobs:
cmake --build deps
- name: create archive
if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && github.event.inputs.UPLOAD)
if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && github.event.inputs.UPLOAD == true)
run: |
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
VERSION=${VERSION#v}
./pack_all.sh -i deps -n "$VERSION"
- name: Upload Artifact
if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && github.event.inputs.UPLOAD)
if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && github.event.inputs.UPLOAD == true)
uses: actions/upload-artifact@v2
with:
path: deps/thirdparty-*.tar.gz
Expand Down Expand Up @@ -146,14 +146,14 @@ jobs:
cmake --build deps
- name: create archive
if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && github.event.inputs.UPLOAD)
if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && github.event.inputs.UPLOAD == true)
run: |
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
VERSION=${VERSION#v}
./pack_all.sh -i deps -n "$VERSION"
- name: Upload Artifact
if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && github.event.inputs.UPLOAD)
if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && github.event.inputs.UPLOAD == true)
uses: actions/upload-artifact@v3
with:
path: deps/thirdparty-*.tar.gz
Expand Down

0 comments on commit ec68c69

Please sign in to comment.