Skip to content

Commit 0eed111

Browse files
author
Tobias Grothe
authored
Update at 2026-02-02-07-24 (#70)
This pull request updates the GitHub Actions workflows for building the project with Gradle. The main improvement is ensuring that the `gradlew` script has executable permissions before running it, which increases reliability in CI environments. **Workflow reliability improvements:** * Added a `chmod +x ./gradlew` step before executing Gradle commands in `.github/workflows/gradle.yml` to ensure the wrapper script is executable. * Added a `chmod +x ./gradlew` step before executing Gradle commands in `.github/workflows/jars.yml` to prevent permission issues during the build process.
1 parent 803d8c6 commit 0eed111

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ jobs:
2121
- name: Setup Gradle
2222
uses: gradle/actions/setup-gradle@v4
2323
- name: Build with Gradle Wrapper
24-
run: ./gradlew clean build
24+
run: |
25+
chmod +x ./gradlew
26+
./gradlew clean build

.github/workflows/jars.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
- name: Setup Gradle
2222
uses: gradle/actions/setup-gradle@v4
2323
- name: Build with Gradle Wrapper
24-
run: ./gradlew jar
24+
run: |
25+
chmod +x ./gradlew
26+
./gradlew jar
2527
- name: Upload binaries to release
2628
uses: svenstaro/upload-release-action@v2
2729
with:

0 commit comments

Comments
 (0)