Skip to content

Commit 30a5003

Browse files
committed
Fix build
1 parent ba1bd0b commit 30a5003

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,16 @@ jobs:
1717
java-version: 21
1818
distribution: temurin
1919

20+
- name: Grant execute permission for gradlew
21+
run: chmod +x gradlew
2022
- name: Build GSit
21-
run: mvn clean package
23+
run: ./gradlew build
2224

2325
- name: Release GSit
2426
uses: marvinpinto/action-automatic-releases@master
2527
with:
2628
title: "GSit"
2729
automatic_release_tag: "build"
2830
repo_token: "${{ secrets.GITHUB_TOKEN }}"
29-
files: "target/*.jar"
31+
files: "build/libs/*.jar"
3032
prerelease: true

0 commit comments

Comments
 (0)