File tree 3 files changed +5
-31
lines changed
3 files changed +5
-31
lines changed Original file line number Diff line number Diff line change 22
22
distribution : ' zulu'
23
23
java-version : ' 17'
24
24
25
- - name : Build with Gradle
26
- run : ./gradlew bootJar
25
+ - name : Build with Maven
26
+ run : mvn clean package -DskipTests
Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ jobs:
24
24
25
25
- name : Build
26
26
run : |
27
- ./gradlew bootJar
27
+ mvn clean package -DskipTests
28
28
echo "artifactPath=$(pwd)" >> $GITHUB_ENV
29
29
version=$(cat VERSION)
30
30
tag=${GITHUB_REF_NAME}
31
31
echo "version=$version" >> $GITHUB_ENV
32
32
echo "tag=$tag" >> $GITHUB_ENV
33
- cp build/libs /tabby.jar .
34
- zip -r tabby.zip . -x "build /*" ".github/*" "cyphers/*" ".git/*" "doc/*" "gradle/*" "src/*" ".gitignore" "README.md" "*gradle*"
33
+ cp target /tabby.jar .
34
+ zip -r tabby.zip . -x "target /*" ".github/*" "cyphers/*" ".git/*" "doc/*" "gradle/*" "src/*" ".gitignore" "README.md" "*gradle*"
35
35
rm tabby.jar
36
36
37
37
# debug
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments