Skip to content

Commit 8b990cc

Browse files
authored
Update maven-publish.yml
1 parent 90f1935 commit 8b990cc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/maven-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ jobs:
2929
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
3030
settings-path: ${{ github.workspace }} # location for the settings.xml file
3131

32+
- name: Make Maven executable
33+
run: chmod +x ./mvnw
34+
3235
- name: Build with Maven
33-
run: mvn -B package --file pom.xml
36+
run: ./mvnw -B package --file pom.xml
3437

3538
- name: Publish to GitHub Packages Apache Maven
3639
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml

0 commit comments

Comments
 (0)