Skip to content

Commit

Permalink
Added the experiemental release workflow along with plugin zip, and j…
Browse files Browse the repository at this point in the history
…ni libs for local build.

Signed-off-by: Navneet Verma <[email protected]>
  • Loading branch information
navneet1v committed Apr 24, 2023
1 parent b513b1e commit 453aeb6
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: Build and Test Neural Search
on:
push:
branches:
- "*"
- "feature/**"
pull_request:
branches:
- "*"
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/experimental-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Create an experimental release

on:
workflow_dispatch:
inputs:
target_version:
description: 'Which version of OpenSearch that this build is targeting'
required: true

jobs:
build-plugin:
runs-on: ubuntu-latest
env:
TARGET_VERSION: ${{ github.event.inputs.target_version || '2.7.0' }}
RELEASE_TAG: ${{ github.event.inputs.target_version }}-experimental.${{ github.run_id }}
JDK_VERSION: 14
steps:
- uses: actions/checkout@v3
- name: Set Up JDK ${{ env.JDK_VERSION }}
uses: actions/setup-java@v1
with:
java-version: ${{ env.JDK_VERSION }}
- name: Create Release Tag
run: |
git tag ${{ env.RELEASE_TAG }}
git push origin ${{ env.RELEASE_TAG }}
- name: Release
id: release_step
uses: softprops/action-gh-release@v1
with:
files: artifacts/plugins/*.zip
tag_name: ${{ env.RELEASE_TAG }}
Binary file not shown.
Binary file added jni/release/libKNNIndexV2_0_11.jnilib
Binary file not shown.
Binary file added jni/release/libopensearchknn_common.jnilib
Binary file not shown.
Binary file added jni/release/libopensearchknn_faiss.jnilib
Binary file not shown.
Binary file added jni/release/libopensearchknn_nmslib.jnilib
Binary file not shown.

0 comments on commit 453aeb6

Please sign in to comment.