Skip to content

Commit ba62fa3

Browse files
committed
fix(ci): add execute permission to ./mvnw
1 parent 3b9aab2 commit ba62fa3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/maven-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626
distribution: 'temurin'
2727

2828
- name: Build with Maven
29-
run: ./mvnw -B package --file pom.xml
29+
run: |
30+
chmod +x ./mvnw
31+
./mvnw -B package --file pom.xml
3032
3133
- name: Upload coverage reports to Codecov
3234
uses: codecov/codecov-action@v5

.github/workflows/maven-deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ jobs:
2727
gpg-passphrase: GPG_PASSPHRASE
2828

2929
- name: Deploy to Maven Central
30-
run: ./mvnw clean deploy -DskipTests -B
30+
run: |
31+
chmod +x ./mvnw
32+
./mvnw clean deploy -DskipTests -B
3133
env:
3234
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
3335
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

0 commit comments

Comments
 (0)