Skip to content

Commit 11eccb4

Browse files
author
iamazy
committed
add github release action
1 parent d2ea792 commit 11eccb4

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/release.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: deploy
2+
3+
on:
4+
workflow_dispatch:
5+
release:
6+
types: [published]
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Set up JDK 1.8
14+
uses: actions/setup-java@v1
15+
with:
16+
java-version: 1.8
17+
18+
- name: Release
19+
uses: softprops/action-gh-release@v1
20+
if: startsWith(github.ref, 'refs/tags/')
21+
with:
22+
name: Elasticsearch v${{ github.ref_name }} Sql Plugin
23+
prerelease: true
24+
token: ${{ secrets.GITHUB_TOKEN }}
25+
generate_release_notes: true
26+
body:
27+
'
28+
```
29+
1. parse sql into elasticsearch dsl
30+
2. query dataset with sql
31+
```
32+
'
33+
files: |
34+
isql-plugin/target/elasticsearch-sql-plugin.zip

0 commit comments

Comments
 (0)