Skip to content

Commit fc5093e

Browse files
authored
fix: build workflow (#79)
* fix: build workflow * Update build.yml
1 parent 7d0d14e commit fc5093e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ on:
66
- main
77
tags:
88
- v*
9+
pull_request:
910

1011
jobs:
11-
java-sdk:
12+
featinsight:
1213
runs-on: ubuntu-latest
1314
steps:
1415
- uses: actions/checkout@v4
@@ -34,7 +35,7 @@ jobs:
3435

3536
- name: build backend
3637
run: |
37-
mvn clean build
38+
mvn clean compile
3839
3940
- name: package
4041
run: |
@@ -46,3 +47,10 @@ jobs:
4647
name: feat-insight-jar
4748
path: |
4849
target/featinsight-*.jar
50+
51+
- name: Release
52+
uses: softprops/action-gh-release@v2
53+
if: startsWith(github.ref, 'refs/tags/v')
54+
with:
55+
files: |
56+
target/featinsight-*.jar

0 commit comments

Comments
 (0)