forked from opensearch-project/neural-search
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the experiemental release workflow along with plugin zip, and j…
…ni libs for local build. Signed-off-by: Navneet Verma <[email protected]>
- Loading branch information
Showing
7 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
- "*" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.