Update gradle

This commit is contained in:
Konrad Pabjan
2020-02-20 12:54:19 -05:00
parent b0d776c678
commit 0c0e0c1a33
+6 -5
View File
@@ -21,10 +21,11 @@ jobs:
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Maven - name: Build with Gradle
run: mvn -B package --file pom.xml run: gradle build
- name: Publish to GitHub Packages Apache Maven - name: Publish to GitHub Packages
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml run: gradle publish
env: env:
GITHUB_TOKEN: ${{ github.token }} USERNAME: ${{ github.actor }}
PASSWORD: ${{ secrets.GITHUB_TOKEN }}