Skip to content

Commit 9f2d447

Browse files
committed
Fix: use gradle command directly instead of missing gradlew script
1 parent 09c57e8 commit 9f2d447

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@ jobs:
124124
- name: Build with Gradle
125125
if: steps.check_changes.outputs.has_changes == 'true' || github.event.inputs.force_build == 'true'
126126
run: |
127-
chmod +x gradlew
128-
./gradlew clean shadowJar --no-daemon
127+
gradle clean shadowJar --no-daemon
129128
JAR_FILE=$(find plugin/build/libs -name "UltimateShop-*.jar" ! -name "*sources.jar" ! -name "*javadoc.jar" | head -1)
130129
if [ -n "$JAR_FILE" ]; then
131130
echo "Build successful!"

0 commit comments

Comments
 (0)