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
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Build with Gradle
run: gradle build
- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
- name: Publish to GitHub Packages
run: gradle publish
env:
GITHUB_TOKEN: ${{ github.token }}
USERNAME: ${{ github.actor }}
PASSWORD: ${{ secrets.GITHUB_TOKEN }}