Skip to content

Commit

Permalink
build: use relative gradlew path for wrapper execution
Browse files Browse the repository at this point in the history
Change the run command for making the Gradle wrapper executable in both
action.yml and release.yml workflows to use the relative path './gradlew' instead
of './fabric/gradlew'. This simplifies the path and ensures consistency across
different project structures.
  • Loading branch information
cnlimiter committed Aug 12, 2024
1 parent af6f97a commit 10736a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,12 @@ jobs:
uses: gradle/wrapper-validation-action@v1

- name: Make Gradle Wrapper Executable
run: chmod +x ./fabric/gradlew
run: chmod +x ./gradlew

- name: Build
uses: gradle/gradle-build-action@v2
with:
arguments: build
build-root-directory: fabric

- name: Find Correct JAR
id: findjar
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ jobs:
uses: gradle/wrapper-validation-action@v1

- name: Make Gradle Wrapper Executable
run: chmod +x ./fabric/gradlew
run: chmod +x ./gradlew

- name: Build
uses: gradle/gradle-build-action@v2
with:
arguments: buildNeeded
build-root-directory: fabric

- name: Find Correct JAR
id: findjar
Expand Down

0 comments on commit 10736a9

Please sign in to comment.